slackbuilds_ponce/system/lxdm/patches/lxdm-set_DESKTOP_SESSION_in_env.diff
Matteo Bernardini 97f8a91699 system/lxdm: Updated for version 20140103_b8b08e5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2014-01-07 11:14:00 -06:00

14 lines
597 B
Diff

diff -Naur lxdm-20131220_68eacbd.orig/src/lxdm.c lxdm-20131220_68eacbd/src/lxdm.c
--- lxdm-20131220_68eacbd.orig/src/lxdm.c 2013-12-20 02:30:50.000000000 +0100
+++ lxdm-20131220_68eacbd/src/lxdm.c 2013-12-30 17:59:04.445723000 +0100
@@ -1296,6 +1296,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
{