X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=spectrwm.c;h=cd629162ddc6f3ba210d05e9829b9ae4b7577594;hb=78294264814075f867420d88e406593dab73dc75;hp=5667102440b923cfd835823a78e4bd509d068f35;hpb=9a6057d00614b65c8cc56687ff1398cd99e3cb21;p=spectrwm.git diff --git a/spectrwm.c b/spectrwm.c index 5667102..cd62916 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -7663,6 +7663,8 @@ main(int argc, char *argv[]) if (xcb_connection_has_error(conn)) errx(1, "can not get XCB connection"); + XSetEventQueueOwner(display, XCBOwnsEventQueue); + xcb_prefetch_extension_data(conn, &xcb_randr_id); xfd = xcb_get_file_descriptor(conn);