]> Dogcows Code - chaz/tint2/blobdiff - src/taskbar/taskbar.c
*fix* broken icons on amd64. fixes issue 155
[chaz/tint2] / src / taskbar / taskbar.c
index a1be3ec78236220ec049ec53f0ad2a4dd12df247..1c029881fc4f6f730bfeb8bf585622c2d6cf4cba 100644 (file)
@@ -258,9 +258,9 @@ void resize_taskbar(void *obj)
                x = taskbar->area.posx + taskbar->area.pix.border.width + taskbar->area.paddingxlr;
                for (l = taskbar->area.list; l ; l = l->next) {
                        tsk = l->data;
+                       if (!tsk->area.on_screen) continue;
                        tsk->area.posx = x;
                        tsk->area.width = pixel_width;
-                       tsk->area.redraw = 1;
                        if (modulo_width) {
                                tsk->area.width++;
                                modulo_width--;
@@ -299,9 +299,9 @@ void resize_taskbar(void *obj)
                y = taskbar->area.posy + taskbar->area.pix.border.width + taskbar->area.paddingxlr;
                for (l = taskbar->area.list; l ; l = l->next) {
                        tsk = l->data;
+                       if (!tsk->area.on_screen) continue;
                        tsk->area.posy = y;
                        tsk->area.height = pixel_height;
-                       tsk->area.redraw = 1;
                        if (modulo_height) {
                                tsk->area.height++;
                                modulo_height--;
This page took 0.025309 seconds and 4 git commands to generate.