mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 04:42:14 +00:00
wayland/compositor: Add MetaContext getter
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2546>
This commit is contained in:
parent
a73ae93d59
commit
bd4dd6b1e8
@ -837,3 +837,9 @@ meta_wayland_compositor_get_xwayland_manager (MetaWaylandCompositor *compositor)
|
|||||||
{
|
{
|
||||||
return &compositor->xwayland_manager;
|
return &compositor->xwayland_manager;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MetaContext *
|
||||||
|
meta_wayland_compositor_get_context (MetaWaylandCompositor *compositor)
|
||||||
|
{
|
||||||
|
return compositor->context;
|
||||||
|
}
|
||||||
|
@ -97,5 +97,7 @@ void meta_wayland_compositor_notify_surface_id (MetaWaylandCo
|
|||||||
META_EXPORT_TEST
|
META_EXPORT_TEST
|
||||||
MetaXWaylandManager * meta_wayland_compositor_get_xwayland_manager (MetaWaylandCompositor *compositor);
|
MetaXWaylandManager * meta_wayland_compositor_get_xwayland_manager (MetaWaylandCompositor *compositor);
|
||||||
|
|
||||||
|
MetaContext * meta_wayland_compositor_get_context (MetaWaylandCompositor *compositor);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user