From 779d43fc462411d84adf757a178e938c6ba9d3b8 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Wed, 24 Oct 2012 15:22:52 +0200 Subject: [PATCH] Don't let Xlib own the event queue Since commit 531f8b415c65e97, we are using Xlib for our X11 connection. However, we still use XCB for event processing. This means we actually have to tell Xlib to leave all events alone. This might fix FS#1047. Perhaps. Signed-off-by: Uli Schlachter --- awesome.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awesome.c b/awesome.c index 7d1c60bd..8ed82bd3 100644 --- a/awesome.c +++ b/awesome.c @@ -375,8 +375,8 @@ main(int argc, char **argv) if (globalconf.display == NULL) { fatal("cannot open display"); } + XSetEventQueueOwner(globalconf.display, XCBOwnsEventQueue); globalconf.default_screen = XDefaultScreen(globalconf.display); - globalconf.connection = XGetXCBConnection(globalconf.display); /* Double checking that connection is good and operatable with xcb */ -- 2.11.4.GIT