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.
This commit is contained in:
Jasper St. Pierre 2014-05-22 17:38:49 -04:00
parent 0f37c1b58e
commit 47b3336ffa

View File

@ -918,6 +918,7 @@ meta_monitor_manager_xrandr_apply_configuration (MetaMonitorManager *manager,
}
XUngrabServer (manager_xrandr->xdisplay);
XFlush (manager_xrandr->xdisplay);
}
static void