From 754d9187df8b3624be13d5ef8db76d2b0a5563f9 Mon Sep 17 00:00:00 2001 From: o9000 Date: Mon, 27 Jul 2015 09:47:00 +0200 Subject: [PATCH] systray: Revert change that removed XSyncs --- src/systray/systraybar.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/systray/systraybar.c b/src/systray/systraybar.c index a608e9c..971e9ed 100644 --- a/src/systray/systraybar.c +++ b/src/systray/systraybar.c @@ -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);