mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 01:48:00 +02:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue