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