aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/xmonad/xinitrc.xmonad6
-rw-r--r--desktop/xmonad/xmonad.SlackBuild2
2 files changed, 6 insertions, 2 deletions
diff --git a/desktop/xmonad/xinitrc.xmonad b/desktop/xmonad/xinitrc.xmonad
index cbdcb3143361f..e074ed174c322 100644
--- a/desktop/xmonad/xinitrc.xmonad
+++ b/desktop/xmonad/xinitrc.xmonad
@@ -11,5 +11,9 @@ sysmodmap=/etc/X11/xinit/.Xmodmap
[ -f $userresources ] && /usr/bin/xrdb -merge $userresources
[ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap
-exec /usr/bin/xmonad
+if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
+ exec ck-launch-session /usr/bin/xmonad
+else
+ exec /usr/bin/xmonad
+fi
diff --git a/desktop/xmonad/xmonad.SlackBuild b/desktop/xmonad/xmonad.SlackBuild
index d968cb1221cb7..98861d9129e9c 100644
--- a/desktop/xmonad/xmonad.SlackBuild
+++ b/desktop/xmonad/xmonad.SlackBuild
@@ -7,7 +7,7 @@
PRGNAM=xmonad
VERSION=${VERSION:-0.9.1}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
GHC_VERSION=$(ghc --numeric-version)