Fix bad interaction between freespace and systray

This commit is contained in:
o9000
2015-06-12 02:09:43 +02:00
parent e8869b4d87
commit 481c409617
3 changed files with 10 additions and 6 deletions

View File

@@ -833,7 +833,8 @@ void event_configure_notify (Window win)
if (traywin->win == win) {
//printf("move tray %d\n", traywin->x);
XMoveResizeWindow(server.dsp, traywin->parent, traywin->x, traywin->y, traywin->width, traywin->height);
XMoveResizeWindow(server.dsp, traywin->win, 0, 0, traywin->width, traywin->height);
if (traywin->reparented)
XMoveResizeWindow(server.dsp, traywin->win, 0, 0, traywin->width, traywin->height);
panel_refresh = 1;
refresh_systray = 1;
return;