]> Dogcows Code - chaz/tint2/blobdiff - src/panel.c
fixed Issue 282 : second try
[chaz/tint2] / src / panel.c
index 662c6c5d1f5406e85ce4fafaf5d1efe7e9dc263a..ee531677805e381d5ba39fa9299630ca1c1e7d4b 100644 (file)
@@ -163,6 +163,7 @@ void init_panel()
                p->area.panel = p;
                p->area.on_screen = 1;
                p->area.resize = 1;
+               p->area.size_mode = SIZE_BY_LAYOUT;
                p->area._resize = resize_panel;
                p->g_taskbar.area.parent = p;
                p->g_taskbar.area.panel = p;
@@ -303,6 +304,7 @@ void init_panel_size_and_position(Panel *panel)
 void resize_panel(void *obj)
 {
        Panel *panel = (Panel*)obj;
+//printf("resize_panel : taskbar\n");
 
        if (panel_horizontal) {
                int taskbar_width, modulo_width = 0;
This page took 0.022228 seconds and 4 git commands to generate.