about summary refs log tree commit diff
path: root/xutil.c
diff options
context:
space:
mode:
authorokan <okan>2013-01-06 01:01:26 +0000
committerokan <okan>2013-01-06 01:01:26 +0000
commit104c7d5de3a92da8b0c3514ef0692ff1e5d0ef82 (patch)
tree4e3ce464112ff297402c202eee26cc2fdaa87dfa /xutil.c
parentf77166194f4586cb19abcb7951ca05e356ac74e1 (diff)
parentc426254da5ff69102284524ddc560cfb00c73204 (diff)
downloadcwm-104c7d5de3a92da8b0c3514ef0692ff1e5d0ef82.tar.gz
cwm-104c7d5de3a92da8b0c3514ef0692ff1e5d0ef82.tar.xz
cwm-104c7d5de3a92da8b0c3514ef0692ff1e5d0ef82.zip
cvsimport
Diffstat (limited to 'xutil.c')
-rw-r--r--xutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xutil.c b/xutil.c
index d141766..cb8b3fc 100644
--- a/xutil.c
+++ b/xutil.c
@@ -411,7 +411,7 @@ xu_ewmh_net_wm_desktop(struct client_ctx *cc)
 	long			 no = 0xffffffff;
 
 	if (gc)
-		no = gc->shortcut - 1;
+		no = gc->shortcut;
 
 	XChangeProperty(X_Dpy, cc->win, ewmh[_NET_WM_DESKTOP].atom,
 	    XA_CARDINAL, 32, PropModeReplace, (unsigned char *)&no, 1);