wayland: set the event queue also for the xdg_wm_base object

This commit is contained in:
Fernando Herrrera 2019-06-05 13:25:34 +01:00 committed by Fernando Herrera
parent 93daa1435a
commit 80547d9437

View 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) {