summaryrefslogtreecommitdiff
path: root/source/xap/windowmaker/xinitrc.wmaker
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/windowmaker/xinitrc.wmaker')
-rw-r--r--source/xap/windowmaker/xinitrc.wmaker6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/xap/windowmaker/xinitrc.wmaker b/source/xap/windowmaker/xinitrc.wmaker
index 09ca61b4..2c43c1eb 100644
--- a/source/xap/windowmaker/xinitrc.wmaker
+++ b/source/xap/windowmaker/xinitrc.wmaker
@@ -35,4 +35,8 @@ if [ ! -x /usr/bin/cpp ]; then
fi
# Start the window manager:
-exec /usr/bin/wmaker $NOCPP
+if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
+ exec ck-launch-session /usr/bin/wmaker $NOCPP
+else
+ exec /usr/bin/wmaker $NOCPP
+fi