From: Thierry Lorthiois Date: Wed, 20 May 2009 11:57:37 +0000 (+0000) Subject: applied patch from yarin.kaul (issue 52) X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Ftint2;a=commitdiff_plain;h=c7ebbd05961128543f6666413c8a756d711763ed applied patch from yarin.kaul (issue 52) --- diff --git a/src/systray/systraybar.c b/src/systray/systraybar.c index 5840bef..232f174 100644 --- a/src/systray/systraybar.c +++ b/src/systray/systraybar.c @@ -105,7 +105,7 @@ void draw_systray(void *obj, cairo_t *c, int active) traywin = (TrayWindow*)l->data; // watch for the icon trying to resize itself! - XSelectInput(server.dsp, traywin->id, StructureNotifyMask); + 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); diff --git a/src/tint2 b/src/tint2 index 7e1ff5e..48cba69 100755 Binary files a/src/tint2 and b/src/tint2 differ