compositor-x11: Set xcb to be eventqueue owner
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Fri, 25 Mar 2011 13:06:37 +0000 (14:06 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 22 Apr 2011 14:35:10 +0000 (10:35 -0400)
This'll fix egl_gallium (when bind_wayland_display is done).

compositor/compositor-x11.c

index b437337..9e8ce75 100644 (file)
@@ -651,6 +651,8 @@ x11_compositor_create(struct wl_display *display, int width, int height)
                return NULL;
 
        c->conn = XGetXCBConnection(c->dpy);
+       XSetEventQueueOwner(c->dpy, XCBOwnsEventQueue);
+
        if (xcb_connection_has_error(c->conn))
                return NULL;