]> Dogcows Code - chaz/tint2/commitdiff
Systray Temp_Fix from keshto. first step.
authorThierry Lorthiois <lorthiois@bbsoft.fr>
Tue, 2 Jun 2009 22:02:03 +0000 (22:02 +0000)
committerThierry Lorthiois <lorthiois@bbsoft.fr>
Tue, 2 Jun 2009 22:02:03 +0000 (22:02 +0000)
ChangeLog
src/systray/systraybar.c
src/tint2

index a492b17f68acf1aecad5704703b37f37b1766c8d..b00d399c27618d39655a60f01cb6c9fb28fdd62c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-06-02
+- Systray Temp_Fix from keshto
+  not yet perfect, but a first step
+
 2009-05-31
 - fixed issue 71 : time format %T %r
 
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();
index 9e81143f426dd2a3be37713d0205530502e8c400..449ece2fee46c5c85549c7f43382e594aba5e5f5 100755 (executable)
Binary files a/src/tint2 and b/src/tint2 differ
This page took 0.03405 seconds and 4 git commands to generate.