Systray: remove SubstructureNotifyMask from XSelectInput
This commit is contained in:
parent
690fe3f4d8
commit
c7aa70f078
1 changed files with 1 additions and 1 deletions
|
@ -633,7 +633,7 @@ gboolean reparent_icon(TrayWindow *traywin)
|
|||
XErrorHandler old = XSetErrorHandler(window_error_handler);
|
||||
if (systray_profile)
|
||||
fprintf(stderr, "XSelectInput(server.dsp, traywin->win, ...)\n");
|
||||
XSelectInput(server.dsp, traywin->win, SubstructureNotifyMask | StructureNotifyMask | PropertyChangeMask | ResizeRedirectMask);
|
||||
XSelectInput(server.dsp, traywin->win, StructureNotifyMask | PropertyChangeMask | ResizeRedirectMask);
|
||||
XWithdrawWindow(server.dsp, traywin->win, server.screen);
|
||||
XReparentWindow(server.dsp, traywin->win, traywin->parent, 0, 0);
|
||||
|
||||
|
|
Loading…
Reference in a new issue