SHA256
1
0
forked from pool/gdm
gdm/gdm-Revert-session-don-t-call-gdm_session_defaults_chang.patch
Dominique Leuenberger 34f6d95b38 Accepting request 581864 from home:xiaoguang_wang:branches:GNOME:Factory
- Add gdm-Revert-session-don-t-call-gdm_session_defaults_chang.patch:
  fix showing right active session of user in login dialog
  (bsc#1082958 bgo#793609).

OBS-URL: https://build.opensuse.org/request/show/581864
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gdm?expand=0&rev=381
2018-03-02 10:52:49 +00:00

41 lines
1.1 KiB
Diff

From f4f7b6914ad2b9b0b7da036dde4028751eb49eb7 Mon Sep 17 00:00:00 2001
From: Ray Strode <rstrode@redhat.com>
Date: Wed, 14 Feb 2018 16:07:15 -0500
Subject: [PATCH 01/16] Revert "session: don't call
gdm_session_defaults_changed from setup"
This reverts commit 572a19324b75cc1f1b2db4908e2d7c9f06e4e335.
It turns out we need this call for more than just the session type,
we also need to it to inform the greeter about the default session
to use.
https://bugzilla.gnome.org/show_bug.cgi?id=793609
---
daemon/gdm-session.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
index 610ebcd0..19d26c92 100644
--- a/daemon/gdm-session.c
+++ b/daemon/gdm-session.c
@@ -2295,6 +2295,7 @@ gdm_session_setup (GdmSession *self,
update_session_type (self);
initialize (self, service_name, NULL, NULL);
+ gdm_session_defaults_changed (self);
}
@@ -2313,6 +2314,7 @@ gdm_session_setup_for_user (GdmSession *self,
self->priv->is_program_session = FALSE;
initialize (self, service_name, self->priv->selected_user, NULL);
+ gdm_session_defaults_changed (self);
}
void
--
2.12.3