context: Add setup phase

During this phase, the backend is created and configured. Currently only
configured, but will gain more logic that currently main.c does with
various helpers.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1861>
This commit is contained in:
Jonas Ådahl
2021-03-02 11:41:34 +01:00
parent df8074c636
commit 75f9085ab9
4 changed files with 64 additions and 0 deletions

View File

@ -35,4 +35,8 @@ gboolean meta_context_configure (MetaContext *context,
char ***argv,
GError **error);
META_EXPORT
gboolean meta_context_setup (MetaContext *context,
GError **error);
#endif /* META_CONTEXT_H */