systray: resize icon when reparenting

This commit is contained in:
o9000 2015-06-12 09:44:13 +02:00
parent 481c409617
commit 5ac1a6a653

View file

@ -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