JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
A better fix.
[spectrwm.git] / spectrwm.c
index 5667102..cd62916 100644 (file)
@@ -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);