summaryrefslogtreecommitdiffstats
path: root/source/xap/windowmaker
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/windowmaker')
-rwxr-xr-xsource/xap/windowmaker/windowmaker.SlackBuild2
-rw-r--r--source/xap/windowmaker/xinitrc.wmaker6
2 files changed, 6 insertions, 2 deletions
diff --git a/source/xap/windowmaker/windowmaker.SlackBuild b/source/xap/windowmaker/windowmaker.SlackBuild
index 15e32edfc..74462e281 100755
--- a/source/xap/windowmaker/windowmaker.SlackBuild
+++ b/source/xap/windowmaker/windowmaker.SlackBuild
@@ -22,7 +22,7 @@
VERSION=20060427cvs
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
NUMJOBS=${NUMJOBS:-" -j7 "}
diff --git a/source/xap/windowmaker/xinitrc.wmaker b/source/xap/windowmaker/xinitrc.wmaker
index 09ca61b4f..2c43c1eb2 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