diff --git a/src/systray/systraybar.c b/src/systray/systraybar.c index dda3e70..b8cb1ff 100644 --- a/src/systray/systraybar.c +++ b/src/systray/systraybar.c @@ -504,6 +504,9 @@ gboolean reparent_icon(TrayWindow *traywin) return FALSE; } + XMoveResizeWindow(server.dsp, traywin->parent, traywin->x, traywin->y, traywin->width, traywin->height); + XMoveResizeWindow(server.dsp, traywin->win, 0, 0, traywin->width, traywin->height); + traywin->reparented = 1; // Embed into parent