[gdm] session: Wayland sessions bypass Xsession
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] session: Wayland sessions bypass Xsession
- Date: Tue, 18 Mar 2014 20:27:12 +0000 (UTC)
commit c1cc21aa92b799f876c9633dbb8cb9f7305a79d5
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Mar 17 23:07:43 2014 -0400
session: Wayland sessions bypass Xsession
https://bugzilla.gnome.org/show_bug.cgi?id=726380
daemon/gdm-session.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
index 81d3e9c..85ae988 100644
--- a/daemon/gdm-session.c
+++ b/daemon/gdm-session.c
@@ -2702,6 +2702,10 @@ gdm_session_bypasses_xsession (GdmSession *self)
g_return_val_if_fail (self != NULL, FALSE);
g_return_val_if_fail (GDM_IS_SESSION (self), FALSE);
+ if (gdm_session_is_wayland_session (self)) {
+ return TRUE;
+ }
+
filename = get_session_filename (self);
key_file = load_key_file_for_file (filename, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]