]> Dogcows Code - chaz/tint2/blobdiff - src/systray/systraybar.c
fixed issue 46 and 59 : urgent task
[chaz/tint2] / src / systray / systraybar.c
index ef1578fcf2791514fc868e474e2c87640ddfe5c6..4b1ac2033080fd85c2ab0a0f3143dbf7d5fcb9d7 100644 (file)
@@ -111,6 +111,7 @@ void draw_systray(void *obj, cairo_t *c, int active)
                XMoveResizeWindow(server.dsp, traywin->id, traywin->x, traywin->y, icon_size, icon_size);
                // ceci intervertie les fonds : le premier icone prend le fond du dernier
                // le dernier prend le fond de l'avant dernier, ...
+               XSetWindowBackgroundPixmap (server.dsp, panel->main_win, systray.area.pix.pmap);
 
                // resize our window so that the new window can fit in it
                //fix_geometry();
@@ -124,7 +125,6 @@ void draw_systray(void *obj, cairo_t *c, int active)
                // show the window
                XMapRaised(server.dsp, traywin->id);
        }
-       XSetWindowBackgroundPixmap (server.dsp, panel->main_win, systray.area.pix.pmap);
 }
 
 
This page took 0.024788 seconds and 4 git commands to generate.