tests/clutter: Disable X11 client support

This avoids test failure happening due to Xwayland getting the CPU time
instead of the tests themself, causing failures e.g. due to
missing frames.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1555
This commit is contained in:
Jonas Ådahl
2020-11-08 22:02:39 +01:00
committed by Georges Basile Stavracas Neto
parent 1499bda592
commit f57c39f511
3 changed files with 16 additions and 0 deletions

View File

@ -5,6 +5,7 @@
#include <clutter/clutter.h>
#include "compositor/meta-plugin-manager.h"
#include "core/main-private.h"
typedef struct {
gpointer dummy_field;
@ -50,6 +51,7 @@ init_common_pre (void)
"aborting...\n");
meta_plugin_manager_load (test_get_plugin_name ());
meta_override_x11_display_policy (META_DISPLAY_POLICY_DISABLED);
meta_test_init ();
display = g_getenv ("DISPLAY");