]> Dogcows Code - chaz/tint2/blobdiff - src/systray/systraybar.c
Systray Temp_Fix from keshto. first step.
[chaz/tint2] / src / systray / systraybar.c
index 232f174b1311124225d0d6e89f5ba678b6c060fd..0a728e73c552ea721c14ca80d3ad3f2d7dacbfd8 100644 (file)
@@ -99,7 +99,7 @@ void draw_systray(void *obj, cairo_t *c, int active)
        GSList *l;
        int icon_size;
 
-       printf("draw_systray %d %d\n", systray.area.posx, systray.area.width);
+       //printf("draw_systray %d %d\n", systray.area.posx, systray.area.width);
        icon_size = sysbar->area.height - (2 * sysbar->area.pix.border.width) - (2 * sysbar->area.paddingy);
        for (l = systray.list_icons; l ; l = l->next) {
                traywin = (TrayWindow*)l->data;
@@ -109,6 +109,7 @@ 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);
 
                // resize our window so that the new window can fit in it
                //fix_geometry();
This page took 0.022306 seconds and 4 git commands to generate.