diff --git a/0001-daemon-Provide-more-flexibility-for-configuring-disp.patch b/0001-daemon-Provide-more-flexibility-for-configuring-disp.patch index eda9c13..4cafd95 100644 --- a/0001-daemon-Provide-more-flexibility-for-configuring-disp.patch +++ b/0001-daemon-Provide-more-flexibility-for-configuring-disp.patch @@ -1529,7 +1529,7 @@ index 5c5903a4..6960a31c 100644 -#ifdef ENABLE_USER_DISPLAY_SERVER - g_array_prepend_val (search_array, wayland_search_dir); + if (g_str_equal (supported_type, "wayland")) { -+ g_array_prepend_val (search_array, wayland_search_dir); ++ g_array_append_val (search_array, wayland_search_dir); - for (i = 0; system_data_dirs[i]; i++) { - gchar *dir = g_build_filename (system_data_dirs[i], "wayland-sessions", NULL); diff --git a/gdm.spec b/gdm.spec index fa01728..6cb524b 100644 --- a/gdm.spec +++ b/gdm.spec @@ -11,7 +11,7 @@ Name: gdm Epoch: 1 Version: 40.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: The GNOME Display Manager License: GPLv2+ @@ -307,7 +307,7 @@ fi %{_libdir}/pkgconfig/gdm-pam-extensions.pc %changelog -* Tue Jul 27 2021 Ray Strode - 1:40.0-5 +* Tue Jul 27 2021 Ray Strode - 1:40.0-6 - Correct logic error leading to wrong display server preference getting chosen.