context: Make the context own MetaWaylandCompositor

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1861>
This commit is contained in:
Jonas Ådahl
2021-03-03 22:00:05 +01:00
parent 6768b509ea
commit 0330ce1f15
13 changed files with 65 additions and 100 deletions

View File

@ -23,6 +23,7 @@
#include "meta/meta-backend.h"
#include "meta/meta-context.h"
#include "wayland/meta-wayland-types.h"
struct _MetaContextClass
{
@ -44,4 +45,6 @@ struct _MetaContextClass
void (* notify_ready) (MetaContext *context);
};
MetaWaylandCompositor * meta_context_get_wayland_compositor (MetaContext *context);
#endif /* META_CONTEXT_PRIVATE_H */