diff options
author | Ray Strode <rstrode@redhat.com> | 2014-12-18 13:23:13 -0500 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2014-12-18 13:50:17 -0500 |
commit | 72ed6413b2b88d438593b98f5e81f5c4fea56c49 (patch) | |
tree | 0b859bb466df0939ac5c3e089db775f80a19f190 | |
parent | d443f467ed680d96e3861c69950a38dcd37feedc (diff) | |
download | gdm-72ed6413b2b88d438593b98f5e81f5c4fea56c49.tar.gz |
Revert "session: set session type to "x11" or "wayland" as appropriate"
This reverts commit 2a3e3e02296b9ff20bc1bffcca4ed7ccf210a4fb.
https://bugzilla.gnome.org/show_bug.cgi?id=741658
-rw-r--r-- | daemon/gdm-session.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c index fceac246..319b3633 100644 --- a/daemon/gdm-session.c +++ b/daemon/gdm-session.c @@ -162,7 +162,6 @@ enum { LAST_SIGNAL }; -static gboolean gdm_session_is_wayland_session (GdmSession *self); static guint signals [LAST_SIGNAL] = { 0, }; G_DEFINE_TYPE (GdmSession, @@ -2396,7 +2395,6 @@ static void set_up_session_environment (GdmSession *self) { GdmSessionDisplayMode display_mode; - const char *session_type = "x11"; gchar *desktop_names; const char *locale; @@ -2441,16 +2439,6 @@ set_up_session_environment (GdmSession *self) } } -#ifdef ENABLE_WAYLAND_SUPPORT - if (gdm_session_is_wayland_session (self)) { - session_type = "wayland"; - } -#endif - - gdm_session_set_environment_variable (self, - "XDG_SESSION_TYPE", - session_type); - if (g_getenv ("WINDOWPATH") != NULL) { gdm_session_set_environment_variable (self, "WINDOWPATH", |