Merge branch 'gtk_egl_wayland' into 'master'

Expose gdk_wayland_surface_get_wl_egl_window()

See merge request GNOME/gtk!3011
This commit is contained in:
Matthias Clasen 2020-12-30 03:32:05 +00:00
commit 224c2674ab
2 changed files with 4 additions and 1 deletions

View File

@ -4209,7 +4209,7 @@ gdk_wayland_surface_get_wl_output (GdkSurface *surface)
return NULL;
}
static struct wl_egl_window *
struct wl_egl_window *
gdk_wayland_surface_get_wl_egl_window (GdkSurface *surface)
{
GdkWaylandSurface *impl = GDK_WAYLAND_SURFACE (surface);

View File

@ -62,6 +62,9 @@ GType gdk_wayland_popup_get_type (void);
GDK_AVAILABLE_IN_ALL
struct wl_surface *gdk_wayland_surface_get_wl_surface (GdkSurface *surface);
GDK_AVAILABLE_IN_ALL
struct wl_egl_window *gdk_wayland_surface_get_wl_egl_window (GdkSurface *surface);
typedef void (*GdkWaylandToplevelExported) (GdkToplevel *toplevel,
const char *handle,
gpointer user_data);