context: Add 'notify_ready()' vfunc and method

This intends to replace the call to `meta_register_with_session()` that
deals with X11 session management, and is called when the user is
"ready". In thet test context, doing that makes no sense, so make it a
no-op.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1861>
This commit is contained in:
Jonas Ådahl
2021-03-02 12:07:10 +01:00
parent 4cd1154b3d
commit 2e784e23a2
4 changed files with 17 additions and 0 deletions

View File

@ -41,6 +41,8 @@ struct _MetaContextClass
MetaBackend * (* create_backend) (MetaContext *context,
GError **error);
void (* notify_ready) (MetaContext *context);
};
#endif /* META_CONTEXT_PRIVATE_H */