mirror of
https://github.com/brl/mutter.git
synced 2025-08-03 07:04:41 +00:00
Rename MetaDisplayPolicy to MetaX11DisplayPolicy
This lack of X11 in the name was a bit confusing, since this is about the X11 policy, not some policy of MetaDisplay. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1833>
This commit is contained in:
@@ -51,7 +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_override_x11_display_policy (META_X11_DISPLAY_POLICY_DISABLED);
|
||||
meta_test_init ();
|
||||
|
||||
display = g_getenv ("DISPLAY");
|
||||
|
@@ -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_DISPLAY_POLICY_MANDATORY)
|
||||
if (meta_get_x11_display_policy () == META_X11_DISPLAY_POLICY_MANDATORY)
|
||||
{
|
||||
test_wait_for_x11_display ();
|
||||
on_x11_display_opened (display, test);
|
||||
|
Reference in New Issue
Block a user