Systray Temp_Fix from keshto. first step. git-svn-id: http://tint2.googlecode.com/svn/trunk@83 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
lorthiois@bbsoft.fr lorthiois@bbsoft.fr@121b4492-b84c-0410-8b4c-0d4edfb3f3cc
3 files changed,
6 insertions(+),
1 deletions(-)
M
src/systray/systraybar.c
→
src/systray/systraybar.c
@@ -99,7 +99,7 @@ TrayWindow *traywin;
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 @@ XSelectInput(server.dsp, traywin->id, StructureNotifyMask|ResizeRedirectMask);
// 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();