X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Ftaskbar%2Ftaskbar.c;h=32d080b028174bbc5f633e8331c38bb3734e26cb;hb=4cd6c50e7ba964a921db9e9f8c29b734e2e3c729;hp=f63c6b14b52e372106bf7c8f908127d588e6409e;hpb=193dc2326844bd0c11c6188f634b79546a235557;p=chaz%2Ftint2 diff --git a/src/taskbar/taskbar.c b/src/taskbar/taskbar.c index f63c6b1..32d080b 100644 --- a/src/taskbar/taskbar.c +++ b/src/taskbar/taskbar.c @@ -268,7 +268,7 @@ void resize_taskbar(void *obj) tsk = l->data; if (!tsk->area.on_screen) continue; tsk->area.posx = x; - if (tsk->area.width != pixel_width) set_task_redraw(tsk); + set_task_redraw(tsk); // always redraw task, because the background could have changed (taskbar_active_id) tsk->area.width = pixel_width; if (modulo_width) { tsk->area.width++; @@ -306,7 +306,7 @@ void resize_taskbar(void *obj) tsk = l->data; if (!tsk->area.on_screen) continue; tsk->area.posy = y; - if (tsk->area.height != pixel_height) set_task_redraw(tsk); + set_task_redraw(tsk); // always redraw task, because the background could have changed (taskbar_active_id) tsk->area.height = pixel_height; if (modulo_height) { tsk->area.height++;