compositor-x11: Set xcb to be eventqueue owner
This'll fix egl_gallium (when bind_wayland_display is done).
This commit is contained in:
parent
df2f197076
commit
e997c5fb09
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue