summaryrefslogtreecommitdiff
path: root/desktop/icewm/xinitrc.icewm
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/icewm/xinitrc.icewm')
-rw-r--r--desktop/icewm/xinitrc.icewm2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/icewm/xinitrc.icewm b/desktop/icewm/xinitrc.icewm
index a93c203c52..4a16c0c272 100644
--- a/desktop/icewm/xinitrc.icewm
+++ b/desktop/icewm/xinitrc.icewm
@@ -23,7 +23,7 @@ fi
icewmbg &
icewmtray &
-if [ -z "$XDG_SESSION_COOKIE" -a -x /usr/bin/ck-launch-session ]; then
+if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
ck-launch-session icewm-session
else
exec icewm-session