diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2021-05-11 09:35:04 +0200 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2021-07-15 11:42:40 +0200 |
commit | 724a7eee7496709f22de76213b8769ea90ab6393 (patch) | |
tree | 887bd90b27c2ed1897d975acb29c0d70f6071bb4 /src/core | |
parent | e8742be568aa4d5ab69ed2681bb86ec6d28d1e9d (diff) | |
download | mutter-724a7eee7496709f22de76213b8769ea90ab6393.tar.gz |
tests: Move 'wait-for-X11-display' helper to MetaContextTest
Gets rid of a un-prefixed helper function relying on a global singleton.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1861>
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/meta-context-private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/meta-context-private.h b/src/core/meta-context-private.h index 503d78ef7..a3b7f9b4b 100644 --- a/src/core/meta-context-private.h +++ b/src/core/meta-context-private.h @@ -22,6 +22,7 @@ #define META_CONTEXT_PRIVATE_H #include "core/meta-private-enums.h" +#include "core/util-private.h" #include "meta/meta-backend.h" #include "meta/meta-context.h" #include "wayland/meta-wayland-types.h" @@ -54,6 +55,7 @@ const char * meta_context_get_name (MetaContext *context); const char * meta_context_get_gnome_wm_keybindings (MetaContext *context); +META_EXPORT_TEST MetaWaylandCompositor * meta_context_get_wayland_compositor (MetaContext *context); MetaX11DisplayPolicy meta_context_get_x11_display_policy (MetaContext *context); |