systray: resize icon when reparenting
This commit is contained in:
parent
481c409617
commit
5ac1a6a653
1 changed files with 3 additions and 0 deletions
|
@ -504,6 +504,9 @@ gboolean reparent_icon(TrayWindow *traywin)
|
||||||
return FALSE;
|
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;
|
traywin->reparented = 1;
|
||||||
|
|
||||||
// Embed into parent
|
// Embed into parent
|
||||||
|
|
Loading…
Reference in a new issue