]> Dogcows Code - chaz/tint2/commitdiff
*fix* issue 297
authorAndreas Fink <andreas.fink85@googlemail.com>
Thu, 14 Oct 2010 17:14:22 +0000 (17:14 +0000)
committerAndreas Fink <andreas.fink85@googlemail.com>
Thu, 14 Oct 2010 17:14:22 +0000 (17:14 +0000)
src/panel.c

index f5eaf9a16277bf299ba98dab0e05e2120544defc..900a317004c75445206752a15561ab83f3d21a10 100644 (file)
@@ -303,11 +303,11 @@ void init_panel_size_and_position(Panel *panel)
 
 
 int resize_panel(void *obj)
 
 
 int resize_panel(void *obj)
-{      
+{
        resize_by_layout(obj, 0);
        
        //printf("resize_panel\n");
        resize_by_layout(obj, 0);
        
        //printf("resize_panel\n");
-       if (panel_mode != MULTI_DESKTOP) {
+       if (panel_mode != MULTI_DESKTOP && taskbar_enabled) {
                // propagate width/height on hidden taskbar
                int i, width, height;
                Panel *panel = (Panel*)obj;
                // propagate width/height on hidden taskbar
                int i, width, height;
                Panel *panel = (Panel*)obj;
This page took 0.019462 seconds and 4 git commands to generate.