Bug fix #224: Flush after XUngrabServer()

Fix #224 by XFlush() after XUngrabServer(). Thanks to rathsky and smlx
for reporting.
This commit is contained in:
Richard Grenville 2014-10-06 11:36:47 +08:00
parent 8c88b4d6f1
commit 651a66131f
1 changed files with 2 additions and 0 deletions

View File

@ -7333,6 +7333,8 @@ session_init(session_t *ps_old, int argc, char **argv) {
}
XUngrabServer(ps->dpy);
// ALWAYS flush after XUngrabServer()!
XFlush(ps->dpy);
// Initialize DBus
if (ps->o.dbus) {