wayland: set the event queue also for the xdg_wm_base object
authorFernando Herrrera <fernando.herrera@oxsight.co.uk>
Wed, 5 Jun 2019 12:25:34 +0000 (13:25 +0100)
committerFernando Herrera <fherrera@onirica.com>
Wed, 5 Jun 2019 12:27:56 +0000 (13:27 +0100)
gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c

index ee7a91f..a02aae4 100644 (file)
@@ -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) {