about summary refs log tree commit diff
path: root/xutil.c
diff options
context:
space:
mode:
authorokan <okan>2014-02-27 00:52:57 +0000
committerokan <okan>2014-02-27 00:52:57 +0000
commit7c9565ec41dceace6c35591cb06bdaab7aa2a191 (patch)
treef5b4ae384e3ee33f5b409225ca1cbc28d2d6719c /xutil.c
parent96af45583a2f6d1f3e6660d06153027f10d7e6da (diff)
parentd46b0f88489ca0bdc6ec7825cd1a71f97d68cb28 (diff)
downloadcwm-7c9565ec41dceace6c35591cb06bdaab7aa2a191.tar.gz
cwm-7c9565ec41dceace6c35591cb06bdaab7aa2a191.tar.xz
cwm-7c9565ec41dceace6c35591cb06bdaab7aa2a191.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 58ee304..7d39ee4 100644
--- a/xutil.c
+++ b/xutil.c
@@ -291,7 +291,7 @@ xu_ewmh_net_desktop_names(struct screen_ctx *sc, char *data, int n)
 void
 xu_ewmh_net_wm_desktop(struct client_ctx *cc)
 {
-	int	 no = cc->group->shortcut;
+	long	 no = cc->group->shortcut;
 
 	XChangeProperty(X_Dpy, cc->win, ewmh[_NET_WM_DESKTOP],
 	    XA_CARDINAL, 32, PropModeReplace, (unsigned char *)&no, 1);