summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2014-12-18 13:23:13 -0500
committerRay Strode <rstrode@redhat.com>2014-12-18 13:50:17 -0500
commit72ed6413b2b88d438593b98f5e81f5c4fea56c49 (patch)
tree0b859bb466df0939ac5c3e089db775f80a19f190
parentd443f467ed680d96e3861c69950a38dcd37feedc (diff)
downloadgdm-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.c12
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",