X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fpanel.c;h=900a317004c75445206752a15561ab83f3d21a10;hb=ac70f13fefaf052701a448ab2fe0751f039d1c8f;hp=7e21f86371100871d61ac51c7ac57d1fdb5db46a;hpb=bfc74d2e0eccdf838ab14a1e3843374ee0848038;p=chaz%2Ftint2 diff --git a/src/panel.c b/src/panel.c index 7e21f86..900a317 100644 --- a/src/panel.c +++ b/src/panel.c @@ -303,10 +303,11 @@ void init_panel_size_and_position(Panel *panel) int resize_panel(void *obj) -{ - int ret = resize_by_layout(obj); +{ + resize_by_layout(obj, 0); - if (panel_mode != MULTI_DESKTOP) { + //printf("resize_panel\n"); + if (panel_mode != MULTI_DESKTOP && taskbar_enabled) { // propagate width/height on hidden taskbar int i, width, height; Panel *panel = (Panel*)obj; @@ -318,7 +319,7 @@ int resize_panel(void *obj) panel->taskbar[i].area.resize = 1; } } - return ret; + return 0; } @@ -522,7 +523,6 @@ void set_panel_background(Panel *p) } // redraw panel's object - //p->area.redraw = 1; GSList *l0; Area *a; for (l0 = p->area.list; l0 ; l0 = l0->next) {