[gdm/wip/wayland-for-merge: 13/14] session: Wayland sessions bypass Xsession



commit 97d53200fbbb041f96cda084e82f40c82e7f83a4
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 c84397b..5bb25a1 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]