From ac70f13fefaf052701a448ab2fe0751f039d1c8f Mon Sep 17 00:00:00 2001 From: Andreas Fink Date: Thu, 14 Oct 2010 17:14:22 +0000 Subject: [PATCH] *fix* issue 297 --- src/panel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/panel.c b/src/panel.c index f5eaf9a..900a317 100644 --- a/src/panel.c +++ b/src/panel.c @@ -303,11 +303,11 @@ void init_panel_size_and_position(Panel *panel) int resize_panel(void *obj) -{ +{ 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; -- 2.43.0