slackbuilds_ponce/system/lxdm/patches/lxdm-set_DESKTOP_SESSION_in_env.diff
ponce db0ad6a42e system/lxdm: updated for version 20120728_102ea5e.
Also set image in default config; fix a wrong path in lxdm.conf.in

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2012-08-21 08:55:35 -05:00

14 lines
597 B
Diff

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
{