mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-16 07:47:22 +01:00
Don't let Xlib own the event queue
Since commit 531f8b415c
, 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 <psychon@znc.in>
This commit is contained in:
parent
a1918b8306
commit
779d43fc46
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue