]> Dogcows Code - chaz/tint2/blobdiff - src/systray/systraybar.c
clock command on rigt/left click by dmitry.medvinsky
[chaz/tint2] / src / systray / systraybar.c
index 0a728e73c552ea721c14ca80d3ad3f2d7dacbfd8..ef1578fcf2791514fc868e474e2c87640ddfe5c6 100644 (file)
@@ -109,7 +109,8 @@ void draw_systray(void *obj, cairo_t *c, int active)
 
                // position and size the icon window
                XMoveResizeWindow(server.dsp, traywin->id, traywin->x, traywin->y, icon_size, icon_size);
-               XSetWindowBackgroundPixmap (server.dsp, panel->main_win, systray.area.pix.pmap);
+               // ceci intervertie les fonds : le premier icone prend le fond du dernier
+               // le dernier prend le fond de l'avant dernier, ...
 
                // resize our window so that the new window can fit in it
                //fix_geometry();
@@ -123,6 +124,7 @@ 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.019795 seconds and 4 git commands to generate.