diff options
author | Richard Grenville <pyxlcy@gmail.com> | 2014-10-06 11:36:47 +0800 |
---|---|---|
committer | Richard Grenville <pyxlcy@gmail.com> | 2014-10-06 11:36:47 +0800 |
commit | 325fb4c2983cb3211138078bff9cbec749be21c8 (patch) | |
tree | 614ce7179a0b0318684ea07e2e87d1b137350770 | |
parent | e3717f4f7bf3a0a0a015337454f1e381a6e0278f (diff) | |
download | tdebase-325fb4c2983cb3211138078bff9cbec749be21c8.tar.gz tdebase-325fb4c2983cb3211138078bff9cbec749be21c8.zip |
Bug fix #224: Flush after XUngrabServer()
Fix #224 by XFlush() after XUngrabServer(). Thanks to rathsky and smlx
for reporting.
-rw-r--r-- | compton.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) { |