]> git.sur5r.net Git - i3/i3/commitdiff
use xcb_aux_sync to make sure our changes reach the X server, flushing is not enough
authorMichael Stapelberg <michael@stapelberg.de>
Thu, 27 Dec 2012 15:54:36 +0000 (16:54 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Thu, 27 Dec 2012 15:54:36 +0000 (16:54 +0100)
src/manage.c

index 9835aa2a9637a49ae2d1055caddf2cba2e442d00..328858a9e5e3beca4f329242e3d09777e22ae114 100644 (file)
@@ -65,7 +65,7 @@ void restore_geometry(void) {
         }
 
     /* Make sure our changes reach the X server, we restart/exit now */
-    xcb_flush(conn);
+    xcb_aux_sync(conn);
 }
 
 /*