From f6ebfe1cf366b97ddacd3cebe6c7438b03af1fd1 Mon Sep 17 00:00:00 2001 From: "Andreas.Fink85" Date: Thu, 14 Oct 2010 17:14:22 +0000 Subject: [PATCH] *fix* issue 297 git-svn-id: http://tint2.googlecode.com/svn/trunk@574 121b4492-b84c-0410-8b4c-0d4edfb3f3cc --- 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;