compositor-x11: Set xcb to be eventqueue owner

This'll fix egl_gallium (when bind_wayland_display is done).
This commit is contained in:
Benjamin Franzke 2011-03-25 14:06:37 +01:00 committed by Kristian Høgsberg
parent df2f197076
commit e997c5fb09
1 changed files with 2 additions and 0 deletions

View 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;