systray: Revert change that removed XSyncs
This commit is contained in:
parent
a4996c9d3e
commit
754d9187df
1 changed files with 2 additions and 0 deletions
|
@ -627,6 +627,7 @@ gboolean reparent_icon(TrayWindow *traywin)
|
|||
return TRUE;
|
||||
|
||||
// Watch for the icon trying to resize itself / closing again
|
||||
XSync(server.dsp, False);
|
||||
error = FALSE;
|
||||
XErrorHandler old = XSetErrorHandler(window_error_handler);
|
||||
if (systray_profile)
|
||||
|
@ -684,6 +685,7 @@ gboolean embed_icon(TrayWindow *traywin)
|
|||
|
||||
Panel* panel = systray.area.panel;
|
||||
|
||||
XSync(server.dsp, False);
|
||||
error = FALSE;
|
||||
XErrorHandler old = XSetErrorHandler(window_error_handler);
|
||||
|
||||
|
|
Loading…
Reference in a new issue