[gdm] session: Add support for XDG_SESSION_DESKTOP
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] session: Add support for XDG_SESSION_DESKTOP
- Date: Fri, 7 Feb 2014 20:55:05 +0000 (UTC)
commit 14253ff7b93404e2c863e06038b8797d897fbee1
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Feb 7 14:02:18 2014 -0500
session: Add support for XDG_SESSION_DESKTOP
Set $XDG_SESSION_DESKTOP to the current session name.
daemon/gdm-session.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
index c16f0e7..8d6583c 100644
--- a/daemon/gdm-session.c
+++ b/daemon/gdm-session.c
@@ -2272,6 +2272,9 @@ set_up_session_environment (GdmSession *self)
gdm_session_set_environment_variable (self,
"DESKTOP_SESSION",
get_session_name (self));
+ gdm_session_set_environment_variable (self,
+ "XDG_SESSION_DESKTOP",
+ get_session_name (self));
set_up_session_language (self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]