diff --git a/src/gallium/state_trackers/egl/wayland/native_drm.c b/src/gallium/state_trackers/egl/wayland/native_drm.c index 2eb7043..e187bda 100644 --- a/src/gallium/state_trackers/egl/wayland/native_drm.c +++ b/src/gallium/state_trackers/egl/wayland/native_drm.c @@ -327,6 +327,9 @@ wayland_create_drm_display(struct wl_display *dpy, drmdpy->base.create_buffer = wayland_create_drm_buffer; + /* bind calling thread to display, to enable wl_display_dispatch_queue */ + wl_display_dispatch_pending(drmdpy->base.dpy); + return &drmdpy->base; }