From: Thierry Lorthiois Date: Tue, 2 Jun 2009 22:02:03 +0000 (+0000) Subject: Systray Temp_Fix from keshto. first step. X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Ftint2;a=commitdiff_plain;h=950baafde9286fcff4d2c3bdbf66ee3ddb1a2433 Systray Temp_Fix from keshto. first step. --- diff --git a/ChangeLog b/ChangeLog index a492b17..b00d399 100644 --- 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 diff --git a/src/systray/systraybar.c b/src/systray/systraybar.c index 232f174..0a728e7 100644 --- a/src/systray/systraybar.c +++ b/src/systray/systraybar.c @@ -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(); diff --git a/src/tint2 b/src/tint2 index 9e81143..449ece2 100755 Binary files a/src/tint2 and b/src/tint2 differ