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:
Jonas Ådahl
2021-02-25 16:19:51 +01:00
committed by Marge Bot
parent f677e0cbfb
commit 6c1793b7d3
7 changed files with 27 additions and 27 deletions

View File

@ -890,7 +890,7 @@ meta_display_open (void)
#ifdef HAVE_WAYLAND
if (meta_is_wayland_compositor ())
{
if (meta_get_x11_display_policy () == META_DISPLAY_POLICY_MANDATORY)
if (meta_get_x11_display_policy () == META_X11_DISPLAY_POLICY_MANDATORY)
{
meta_display_init_x11 (display, NULL,
(GAsyncReadyCallback) on_x11_initialized,