diff --git a/0003-local-display-factory-Fix-overrun-in-session-type-li.patch b/0003-local-display-factory-Fix-overrun-in-session-type-li.patch index 97094e0..b60d440 100644 --- a/0003-local-display-factory-Fix-overrun-in-session-type-li.patch +++ b/0003-local-display-factory-Fix-overrun-in-session-type-li.patch @@ -67,7 +67,7 @@ index 0bb3851f..f2da3b6e 100644 - if (wayland_enabled && g_file_test ("/usr/bin/Xwayland", G_FILE_TEST_IS_EXECUTABLE) ) - session_types[number_of_session_types++] = "wayland"; + if (wayland_enabled && g_file_test ("/usr/bin/Xwayland", G_FILE_TEST_IS_EXECUTABLE)) { -+ session_types[i] = "wayland"; ++ session_types[i] = "wayland"; continue; + } } } @@ -81,7 +81,7 @@ index 0bb3851f..f2da3b6e 100644 - if (xorg_enabled && g_file_test ("/usr/bin/Xorg", G_FILE_TEST_IS_EXECUTABLE) ) - session_types[number_of_session_types++] = "x11"; + if (xorg_enabled && g_file_test ("/usr/bin/Xorg", G_FILE_TEST_IS_EXECUTABLE)) { -+ session_types[i] = "x11"; ++ session_types[i] = "x11"; continue; + } } } diff --git a/gdm.spec b/gdm.spec index 9d35bfe..fa01728 100644 --- a/gdm.spec +++ b/gdm.spec @@ -11,7 +11,7 @@ Name: gdm Epoch: 1 Version: 40.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: The GNOME Display Manager License: GPLv2+ @@ -307,6 +307,10 @@ fi %{_libdir}/pkgconfig/gdm-pam-extensions.pc %changelog +* Tue Jul 27 2021 Ray Strode - 1:40.0-5 +- Correct logic error leading to wrong display server preference + getting chosen. + * Thu Jul 22 2021 Ray Strode - 1:40.0-4 - Allow vendor nvidia driver users the ability to pick wayland sessions without editing udev