mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 04:22:05 +00:00
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);
|
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
|
META_EXPORT_TEST
|
||||||
MetaContext * meta_wayland_compositor_get_context (MetaWaylandCompositor *compositor);
|
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);
|
gboolean meta_wayland_compositor_is_grabbed (MetaWaylandCompositor *compositor);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user