diff -crB tint2-0.8/src/config.c tint2-0.8-patch/src/config.c *** tint2-0.8/src/config.c 2009-12-12 15:44:02.000000000 +0100 --- tint2-0.8-patch/src/config.c 2010-01-05 18:07:24.572360878 +0100 *************** *** 86,91 **** --- 86,92 ---- pango_font_description_free(panel_config.g_task.font_desc); } memset(&panel_config, 0, sizeof(Panel)); + panel_config.maximize_over = 0; panel_config.g_task.alpha = 100; panel_config.g_task.alpha_active = 100; systray.sort = 3; *************** *** 211,216 **** --- 212,219 ---- } /* Panel */ + else if (strcmp (key, "panel_maxover") == 0) + panel_config.maximize_over = atoi (value); else if (strcmp (key, "panel_monitor") == 0) { if (strcmp (value, "all") == 0) panel_config.monitor = -1; else { diff -crB tint2-0.8/src/panel.c tint2-0.8-patch/src/panel.c *** tint2-0.8/src/panel.c 2009-12-16 00:52:27.000000000 +0100 --- tint2-0.8-patch/src/panel.c 2010-01-05 18:10:03.756360254 +0100 *************** *** 456,464 **** struts[7] = p->posy + p->area.height - 1; } } // Old specification : fluxbox need _NET_WM_STRUT. ! XChangeProperty (server.dsp, p->main_win, server.atom._NET_WM_STRUT, XA_CARDINAL, 32, PropModeReplace, (unsigned char *) &struts, 4); ! XChangeProperty (server.dsp, p->main_win, server.atom._NET_WM_STRUT_PARTIAL, XA_CARDINAL, 32, PropModeReplace, (unsigned char *) &struts, 12); // Fixed position and non-resizable window // Allow panel move and resize when tint2 reload config file --- 456,467 ---- struts[7] = p->posy + p->area.height - 1; } } + // Old specification : fluxbox need _NET_WM_STRUT. ! if (!p->maximize_over) { ! XChangeProperty (server.dsp, p->main_win, server.atom._NET_WM_STRUT, XA_CARDINAL, 32, PropModeReplace, (unsigned char *) &struts, 4); ! XChangeProperty (server.dsp, p->main_win, server.atom._NET_WM_STRUT_PARTIAL, XA_CARDINAL, 32, PropModeReplace, (unsigned char *) &struts, 12); ! } // Fixed position and non-resizable window // Allow panel move and resize when tint2 reload config file diff -crB tint2-0.8/src/panel.h tint2-0.8-patch/src/panel.h *** tint2-0.8/src/panel.h 2009-12-12 15:44:02.000000000 +0100 --- tint2-0.8-patch/src/panel.h 2010-01-05 18:12:28.512356681 +0100 *************** *** 74,79 **** --- 74,81 ---- // location of the panel (monitor number) int monitor; + int maximize_over; + // -------------------------------------------------- // task and taskbar parameter per panel Area g_taskbar;