diff options
Diffstat (limited to 'system/lxdm/patches/lxdm-set_DESKTOP_SESSION_in_env.diff')
-rw-r--r-- | system/lxdm/patches/lxdm-set_DESKTOP_SESSION_in_env.diff | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/system/lxdm/patches/lxdm-set_DESKTOP_SESSION_in_env.diff b/system/lxdm/patches/lxdm-set_DESKTOP_SESSION_in_env.diff new file mode 100644 index 0000000000..6563354a68 --- /dev/null +++ b/system/lxdm/patches/lxdm-set_DESKTOP_SESSION_in_env.diff @@ -0,0 +1,14 @@ +diff -Naur lxdm-20120419_2ce143c.orig/src/lxdm.c lxdm-20120419_2ce143c/src/lxdm.c +--- lxdm-20120419_2ce143c.orig/src/lxdm.c 2012-04-19 16:31:16.000000000 +0200 ++++ lxdm-20120419_2ce143c/src/lxdm.c 2012-04-28 18:17:25.186023147 +0200 +@@ -1490,6 +1490,10 @@ + NULL)) + { + setenv("XDG_SESSION_COOKIE", ck_connector_get_cookie(s->ckc), 1); ++ /* I really don't like doing this, but since both kdm and gdm ++ set this in the environment, and our xinitrc scripts depend ++ on it, here we go with a minor patch... */ ++ setenv("DESKTOP_SESSION", session_name, 1); + } + else + { |