SHA256
1
0
forked from pool/gdm

Accepting request 1192840 from GNOME:Factory

OBS-URL: https://build.opensuse.org/request/show/1192840
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdm?expand=0&rev=270
This commit is contained in:
2024-08-10 17:07:06 +00:00
committed by Git OBS Bridge
3 changed files with 7 additions and 31 deletions

View File

@@ -1,28 +0,0 @@
Index: gdm-46.rc/daemon/gdm-session.c
===================================================================
--- gdm-46.rc.orig/daemon/gdm-session.c
+++ gdm-46.rc/daemon/gdm-session.c
@@ -47,6 +47,8 @@
#include <systemd/sd-login.h>
+#include "gdm-sysconfig.h"
+
#include "gdm-session.h"
#include "gdm-session-glue.h"
#include "gdm-dbus-util.h"
@@ -618,6 +620,14 @@ get_fallback_session_name (GdmSession *s
}
}
+ name = gdm_sysconfig_load_value ("/etc/sysconfig/windowmanager", "DEFAULT_WM");
+ if (name && get_session_command_for_name (self, name, NULL, NULL)) {
+ g_free (self->fallback_session_name);
+ self->fallback_session_name = name;
+ goto out;
+ }
+ g_free (name);
+
name = g_strdup ("gnome");
if (get_session_command_for_name (self, name, NULL, NULL)) {
g_free (self->fallback_session_name);

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Aug 9 09:10:52 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Drop gdm-default-wm.patch: patch seems obsolete. The selection of
default window manager happens by means of update-alternatives
now.
-------------------------------------------------------------------
Tue Jul 30 18:44:44 UTC 2024 - Michael Gorse <mgorse@suse.com>

View File

@@ -64,8 +64,6 @@ Patch0: gdm-s390-not-require-g-s-d_wacom.patch
Patch1: gdm-sysconfig-settings.patch
# PATCH-FIX-OPENSUSE gdm-suse-xsession.patch vuntz@novell.com -- Use the /etc/X11/xdm/* scripts
Patch2: gdm-suse-xsession.patch
# PATCH-FIX-OPENSUSE gdm-default-wm.patch vuntz@novell.com -- Use sysconfig to know to which desktop to use by default
Patch3: gdm-default-wm.patch
# PATCH-FIX-OPENSUSE gdm-xauthlocalhostname.patch bnc#538064 vuntz@novell.com -- Set XAUTHLOCALHOSTNAME to current hostname when we authenticate, for local logins, to avoid issues in the session in case the hostname changes later one. See comment 24 in the bug.
Patch4: gdm-xauthlocalhostname.patch
# PATCH-FIX-OPENSUSE gdm-switch-to-tty1.patch bsc#1113700 xwang@suse.com -- switch to tty1 when stopping gdm service
@@ -251,7 +249,6 @@ running display manager.
%patch -P 1 -p1
%patch -P 2 -p1
%patch -P 3 -p1
%patch -P 4 -p1
%patch -P 5 -p1
%patch -P 6 -p1
%patch -P 7 -p1