diff options
-rw-r--r-- | daemon/gdm-wayland-session.c | 1 | ||||
-rw-r--r-- | daemon/gdm-x-session.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/daemon/gdm-wayland-session.c b/daemon/gdm-wayland-session.c index 742eb265..efdb34e8 100644 --- a/daemon/gdm-wayland-session.c +++ b/daemon/gdm-wayland-session.c @@ -324,7 +324,6 @@ spawn_session (State *state, g_subprocess_launcher_unsetenv (launcher, "XAUTHORITY"); g_subprocess_launcher_unsetenv (launcher, "WAYLAND_DISPLAY"); g_subprocess_launcher_unsetenv (launcher, "WAYLAND_SOCKET"); - g_subprocess_launcher_unsetenv (launcher, "GNOME_SHELL_SESSION_MODE"); subprocess = g_subprocess_launcher_spawnv (launcher, (const char * const *) argv, diff --git a/daemon/gdm-x-session.c b/daemon/gdm-x-session.c index 3ac48616..b919e6e9 100644 --- a/daemon/gdm-x-session.c +++ b/daemon/gdm-x-session.c @@ -643,8 +643,6 @@ spawn_session (State *state, g_subprocess_launcher_setenv (launcher, "WINDOWPATH", vt, TRUE); } - g_subprocess_launcher_unsetenv (launcher, "GNOME_SHELL_SESSION_MODE"); - if (run_script) { subprocess = g_subprocess_launcher_spawn (launcher, &error, |