From 47b3336ffac522d763d93209000a1dab55651286 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 22 May 2014 17:38:49 -0400 Subject: [PATCH] monitor-manager-xrandr: Make sure to XFlush the XUngrabServer Otherwise, the server may not receive our request, meaning that we'll hang onto the server grab forever. --- src/backends/x11/meta-monitor-manager-xrandr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backends/x11/meta-monitor-manager-xrandr.c b/src/backends/x11/meta-monitor-manager-xrandr.c index 0741a9100..0c640b75f 100644 --- a/src/backends/x11/meta-monitor-manager-xrandr.c +++ b/src/backends/x11/meta-monitor-manager-xrandr.c @@ -918,6 +918,7 @@ meta_monitor_manager_xrandr_apply_configuration (MetaMonitorManager *manager, } XUngrabServer (manager_xrandr->xdisplay); + XFlush (manager_xrandr->xdisplay); } static void