diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2021-04-19 16:13:47 +0200 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2021-07-15 11:34:37 +0200 |
commit | ff0afb186a2741691deca02652a4c2f193246e50 (patch) | |
tree | a36e2dd4deb6a09b52112508dc109e7c11fa59e3 /src/meta | |
parent | 50ed027b6f63e6a1b7cc2850c5e68fec1ee4c890 (diff) | |
download | mutter-ff0afb186a2741691deca02652a4c2f193246e50.tar.gz |
context: Move 'replace-current-wm' tracking to the context
This move yet another scattered global static variable into the
context's control.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1861>
Diffstat (limited to 'src/meta')
-rw-r--r-- | src/meta/main.h | 3 | ||||
-rw-r--r-- | src/meta/meta-context.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/meta/main.h b/src/meta/main.h index f5512caa6..3e5db424a 100644 --- a/src/meta/main.h +++ b/src/meta/main.h @@ -27,9 +27,6 @@ #include <meta/common.h> META_EXPORT -gboolean meta_get_replace_current_wm (void); /* Actually defined in util.c */ - -META_EXPORT void meta_restart (const char *message); META_EXPORT diff --git a/src/meta/meta-context.h b/src/meta/meta-context.h index e4252daf6..50b4bd5f9 100644 --- a/src/meta/meta-context.h +++ b/src/meta/meta-context.h @@ -90,6 +90,9 @@ META_EXPORT MetaCompositorType meta_context_get_compositor_type (MetaContext *context); META_EXPORT +gboolean meta_context_is_replacing (MetaContext *context); + +META_EXPORT MetaBackend * meta_context_get_backend (MetaContext *context); META_EXPORT |