From e997c5fb090157f5f245fed815c07fb1370e3217 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Fri, 25 Mar 2011 14:06:37 +0100 Subject: [PATCH] compositor-x11: Set xcb to be eventqueue owner This'll fix egl_gallium (when bind_wayland_display is done). --- compositor/compositor-x11.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compositor/compositor-x11.c b/compositor/compositor-x11.c index b437337f..9e8ce751 100644 --- a/compositor/compositor-x11.c +++ b/compositor/compositor-x11.c @@ -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;