Hello community,

here is the log from the commit of package gdm for openSUSE:Factory checked in 
at 2019-11-15 22:30:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gdm (Old)
 and      /work/SRC/openSUSE:Factory/.gdm.new.26869 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gdm"

Fri Nov 15 22:30:16 2019 rev:219 rq:747635 version:3.34.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/gdm/gdm.changes  2019-10-17 13:04:50.244460529 
+0200
+++ /work/SRC/openSUSE:Factory/.gdm.new.26869/gdm.changes       2019-11-15 
22:30:18.620125113 +0100
@@ -1,0 +2,6 @@
+Fri Nov  8 01:36:08 UTC 2019 - Xiaoguang Wang <[email protected]>
+
+- Add gdm-switch-user-tty7.patch: Switch to tty7 when switch user
+  (bsc#1155408 glgo#GNOME#gdm#532).
+
+-------------------------------------------------------------------

New:
----
  gdm-switch-user-tty7.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gdm.spec ++++++
--- /var/tmp/diff_new_pack.E6fOGg/_old  2019-11-15 22:30:20.504124286 +0100
+++ /var/tmp/diff_new_pack.E6fOGg/_new  2019-11-15 22:30:20.504124286 +0100
@@ -61,6 +61,8 @@
 Patch9:         gdm-initial-setup-hardening.patch
 # PATCH-FIX-OPENSUSE gdm-s390-not-require-g-s-d_wacom.patch bsc#1129412 
[email protected] -- Remove the runtime requirement of g-s-d Wacom plugin
 Patch13:        gdm-s390-not-require-g-s-d_wacom.patch
+# PATCH-FIX-UPSTREAM gdm-switch-user-tty7.patch bsc#1155408 glgo#GNOME#gdm#532 
[email protected] -- Switch to tty7 when switch user
+Patch14:        gdm-switch-user-tty7.patch
 ### NOTE: Keep please SLE-only patches at bottom (starting on 1000).
 # PATCH-FIX-SLE gdm-disable-gnome-initial-setup.patch bnc#1067976 
[email protected] -- Disable gnome-initial-setup runs before gdm, g-i-s will only 
serve for CJK people to choose the input-method after login.
 Patch1000:      gdm-disable-gnome-initial-setup.patch
@@ -216,6 +218,7 @@
 %ifarch s390 s390x
 %patch13 -p1
 %endif
+%patch14 -p1
 
 # SLE-only patches start at 1000
 %if !0%{?is_opensuse}

++++++ gdm-switch-user-tty7.patch ++++++
>From 89aa8f63555dd2e4a6b9fcdc49553e9feb231768 Mon Sep 17 00:00:00 2001
From: Xiaoguang Wang <[email protected]>
Date: Tue, 5 Nov 2019 15:03:05 +0800
Subject: [PATCH] session-worker: Select GDM_INITIAL_VT tty for greeter session

Closes #532
---
 daemon/gdm-session-worker.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/daemon/gdm-session-worker.c b/daemon/gdm-session-worker.c
index 1319907e..0ca3dd0c 100644
--- a/daemon/gdm-session-worker.c
+++ b/daemon/gdm-session-worker.c
@@ -2201,7 +2201,7 @@ set_up_for_new_vt (GdmSessionWorker *worker)
                 return FALSE;
         }
 
-        if (worker->priv->display_is_initial) {
+        if (strcmp (worker->priv->service, "gdm-launch-environment") == 0) {
                 session_vt = GDM_INITIAL_VT;
         } else {
                 if (ioctl(fd, VT_OPENQRY, &session_vt) < 0) {
-- 
2.16.4


Reply via email to