mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 20:32:16 +00:00
tests/runner: Check compositor type instead of X11 policy
It's practically equivalent, and means we can soon ditch the global. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1833>
This commit is contained in:
parent
6c1793b7d3
commit
270f1cf7a5
@ -77,7 +77,7 @@ test_case_new (void)
|
||||
TestCase *test = g_new0 (TestCase, 1);
|
||||
MetaDisplay *display = meta_get_display ();
|
||||
|
||||
if (meta_get_x11_display_policy () == META_X11_DISPLAY_POLICY_MANDATORY)
|
||||
if (!meta_is_wayland_compositor ())
|
||||
{
|
||||
test_wait_for_x11_display ();
|
||||
on_x11_display_opened (display, test);
|
||||
|
Loading…
Reference in New Issue
Block a user