X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fpanel.c;h=900a317004c75445206752a15561ab83f3d21a10;hb=ac70f13fefaf052701a448ab2fe0751f039d1c8f;hp=f5eaf9a16277bf299ba98dab0e05e2120544defc;hpb=2fe8ce00afa75977d3fd394481b19deaf3d102a5;p=chaz%2Ftint2 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;