X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Ftint2;a=blobdiff_plain;f=src%2Fpanel.c;h=e51a69573db36998f77970fe4008975b3c4be346;hp=61b4b2025a01a36be364a4abf90b257d79653b7c;hb=e7c43073246afe07cddf67d40d545f2bebcf62a1;hpb=a72ae04bf96477f11d8bf24baea54596f6d3356b diff --git a/src/panel.c b/src/panel.c index 61b4b20..e51a695 100644 --- a/src/panel.c +++ b/src/panel.c @@ -301,7 +301,7 @@ void init_panel_size_and_position(Panel *panel) } -void resize_panel(void *obj) +int resize_panel(void *obj) { Panel *panel = (Panel*)obj; //printf("resize_panel : taskbar\n"); @@ -385,6 +385,7 @@ void resize_panel(void *obj) posy += panel->taskbar[i].area.height + panel->area.paddingx; } } + return 0; } @@ -580,12 +581,14 @@ 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) { a = l0->data; set_redraw(a); } + // reset task 'state_pix' int i; Taskbar *tskbar;