Correct logic error leading to wrong display server preference getting chosen
This commit is contained in:
parent
5ed4a6291a
commit
7bd1da8263
@ -1529,7 +1529,7 @@ index 5c5903a4..6960a31c 100644
|
|||||||
-#ifdef ENABLE_USER_DISPLAY_SERVER
|
-#ifdef ENABLE_USER_DISPLAY_SERVER
|
||||||
- g_array_prepend_val (search_array, wayland_search_dir);
|
- g_array_prepend_val (search_array, wayland_search_dir);
|
||||||
+ if (g_str_equal (supported_type, "wayland")) {
|
+ 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++) {
|
- for (i = 0; system_data_dirs[i]; i++) {
|
||||||
- gchar *dir = g_build_filename (system_data_dirs[i], "wayland-sessions", NULL);
|
- gchar *dir = g_build_filename (system_data_dirs[i], "wayland-sessions", NULL);
|
||||||
|
4
gdm.spec
4
gdm.spec
@ -11,7 +11,7 @@
|
|||||||
Name: gdm
|
Name: gdm
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 40.0
|
Version: 40.0
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: The GNOME Display Manager
|
Summary: The GNOME Display Manager
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -307,7 +307,7 @@ fi
|
|||||||
%{_libdir}/pkgconfig/gdm-pam-extensions.pc
|
%{_libdir}/pkgconfig/gdm-pam-extensions.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Jul 27 2021 Ray Strode <rstrode@redhat.com> - 1:40.0-5
|
* Tue Jul 27 2021 Ray Strode <rstrode@redhat.com> - 1:40.0-6
|
||||||
- Correct logic error leading to wrong display server preference
|
- Correct logic error leading to wrong display server preference
|
||||||
getting chosen.
|
getting chosen.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user