systray: Revert change that removed XSyncs

This commit is contained in:
o9000 2015-07-27 09:47:00 +02:00
parent a4996c9d3e
commit 754d9187df

View file

@ -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);