[gdm/wip/wayland-take-2: 6/8] session: Wayland sessions bypass Xsession



commit 68279c6c3ac8ac41a39a8d1e66a88412bf2836aa
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Mar 17 23:07:43 2014 -0400

    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 bf905da..adb3535 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]