[gdm] Revert "session: set session type to "x11" or "wayland" as appropriate"
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] Revert "session: set session type to "x11" or "wayland" as appropriate"
- Date: Thu, 18 Dec 2014 18:50:47 +0000 (UTC)
commit 72ed6413b2b88d438593b98f5e81f5c4fea56c49
Author: Ray Strode <rstrode redhat com>
Date: Thu Dec 18 13:23:13 2014 -0500
Revert "session: set session type to "x11" or "wayland" as appropriate"
This reverts commit 2a3e3e02296b9ff20bc1bffcca4ed7ccf210a4fb.
https://bugzilla.gnome.org/show_bug.cgi?id=741658
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 fceac24..319b363 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",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]