wayland/compositor: Add API to get wl_display
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2810>
This commit is contained in:
parent
63c8c229d6
commit
192401dee5
@ -855,3 +855,9 @@ meta_wayland_compositor_is_grabbed (MetaWaylandCompositor *compositor)
|
||||
{
|
||||
return meta_wayland_seat_is_grabbed (compositor->seat);
|
||||
}
|
||||
|
||||
struct wl_display *
|
||||
meta_wayland_compositor_get_wayland_display (MetaWaylandCompositor *compositor)
|
||||
{
|
||||
return compositor->wayland_display;
|
||||
}
|
||||
|
@ -102,6 +102,7 @@ MetaXWaylandManager * meta_wayland_compositor_get_xwayland_manager (MetaWaylan
|
||||
META_EXPORT_TEST
|
||||
MetaContext * meta_wayland_compositor_get_context (MetaWaylandCompositor *compositor);
|
||||
|
||||
struct wl_display * meta_wayland_compositor_get_wayland_display (MetaWaylandCompositor *compositor);
|
||||
|
||||
gboolean meta_wayland_compositor_is_grabbed (MetaWaylandCompositor *compositor);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user