From: Andreas Fink Date: Thu, 14 Oct 2010 17:14:22 +0000 (+0000) Subject: *fix* issue 297 X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=ac70f13fefaf052701a448ab2fe0751f039d1c8f;p=chaz%2Ftint2 *fix* issue 297 --- 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;