[gdm/wip/wayland-take-2: 7/9] session: Wayland sessions bypass Xsession
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/wip/wayland-take-2: 7/9] session: Wayland sessions bypass Xsession
- Date: Tue, 18 Mar 2014 02:45:46 +0000 (UTC)
commit c16d3c9e3ae0ab9e71bb20f074392d2b89c74abe
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Mar 6 13:55:09 2014 -0500
session: Wayland sessions bypass Xsession
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 da4687a..1c90d40 100644
--- a/daemon/gdm-session.c
+++ b/daemon/gdm-session.c
@@ -2695,6 +2695,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]