systray: resize icon when reparenting
o9000 o9000
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
src/systray/systraybar.c
→
src/systray/systraybar.c
@@ -504,6 +504,9 @@ remove_icon(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