clock command on rigt/left click by dmitry.medvinsky

git-svn-id: http://tint2.googlecode.com/svn/trunk@84 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
lorthiois@bbsoft.fr
2009-06-04 18:41:14 +00:00
parent fa749b7026
commit 26ab02d533
7 changed files with 60 additions and 9 deletions

View 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);
}