xdg_wm_base_add_listener (priv->xdg_wm_base, &xdg_wm_base_listener,
display);
} else if (g_strcmp0 (interface, "wl_shell") == 0) {
- display->wl_shell =
- wl_registry_bind (registry, name, &wl_shell_interface, 1);
+ display->shell = wl_registry_bind (registry, name, &wl_shell_interface, 1);
}
}
GstGLDisplayWaylandPrivate *priv =
gst_gl_display_wayland_get_instance_private (display_wayland);
- g_clear_pointer (&display_wayland->wl_shell, wl_shell_destroy);
+ g_clear_pointer (&display_wayland->shell, wl_shell_destroy);
g_clear_pointer (&priv->xdg_wm_base, xdg_wm_base_destroy);
/* Cause eglTerminate() to occur before wl_display_disconnect()
struct wl_subcompositor *subcompositor;
/* Basic shell, see private struct for others (e.g. XDG-shell) */
- struct wl_shell *wl_shell;
+ struct wl_shell *shell;
/* <private> */
gboolean foreign_display;
GST_DEBUG ("Creating surfaces for wl-shell");
- wl_shell_surface = wl_shell_get_shell_surface (display->wl_shell,
+ wl_shell_surface = wl_shell_get_shell_surface (display->shell,
window_egl->window.surface);
if (window_egl->window.queue) {