mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
context: Make the context owner of the backend
There is still the `_backend` singleton still, as there are still the `meta_get_backend()` that needs to work for now. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1861>
This commit is contained in:
@ -49,6 +49,9 @@ META_EXPORT
|
||||
void meta_backend_lock_layout_group (MetaBackend *backend,
|
||||
guint idx);
|
||||
|
||||
META_EXPORT
|
||||
MetaContext * meta_backend_get_context (MetaBackend *backend);
|
||||
|
||||
META_EXPORT
|
||||
ClutterActor *meta_backend_get_stage (MetaBackend *backend);
|
||||
|
||||
|
@ -81,4 +81,7 @@ void meta_context_terminate_with_error (MetaContext *context,
|
||||
META_EXPORT
|
||||
MetaCompositorType meta_context_get_compositor_type (MetaContext *context);
|
||||
|
||||
META_EXPORT
|
||||
MetaBackend * meta_context_get_backend (MetaContext *context);
|
||||
|
||||
#endif /* META_CONTEXT_H */
|
||||
|
Reference in New Issue
Block a user