From 80547d943789339987f4dd2db17451e3c9d44d94 Mon Sep 17 00:00:00 2001 From: Fernando Herrrera Date: Wed, 5 Jun 2019 13:25:34 +0100 Subject: [PATCH] wayland: set the event queue also for the xdg_wm_base object --- gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c b/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c index ee7a91f805..a02aae449b 100644 --- a/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c +++ b/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c @@ -308,6 +308,10 @@ create_xdg_surface_and_toplevel (GstGLWindowWaylandEGL * window_egl) /* First create the XDG surface */ xdg_wm_base = gst_gl_display_wayland_get_xdg_wm_base (display); + if (window_egl->window.queue) { + wl_proxy_set_queue ((struct wl_proxy *) xdg_wm_base, + window_egl->window.queue); + } xdg_surface = xdg_wm_base_get_xdg_surface (xdg_wm_base, window_egl->window.surface); if (window_egl->window.queue) {