systray: Redirect resize events

This commit is contained in:
o9000
2015-07-31 09:31:03 +02:00
parent 78bc330448
commit d492f80468
3 changed files with 67 additions and 0 deletions

View File

@@ -1316,6 +1316,17 @@ start:
}
break;
case ResizeRequest:
// 'win' is a trayer icon
for (it = systray.list_icons; it ; it = g_slist_next(it)) {
TrayWindow *traywin = (TrayWindow*)it->data;
if (traywin->win == e.xany.window) {
systray_resize_request_event(traywin, &e);
break;
}
}
break;
case ReparentNotify:
if (!systray_enabled)
break;