[gdm/wip/wayland-take-2: 7/9] session: Wayland sessions bypass Xsession



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]