summary refs log tree commit diff
path: root/xutil.c
diff options
context:
space:
mode:
authorokan <okan>2014-08-20 15:15:29 +0000
committerokan <okan>2014-08-20 15:15:29 +0000
commitb31b09dfc26b4b17c025d7196b8b5a4a26f599df (patch)
treeb01dff20394ae619cf5d77887050483913d027f8 /xutil.c
parent30da2211ddbc39036e98ae951ea53d9a1793c376 (diff)
downloadcwm-b31b09dfc26b4b17c025d7196b8b5a4a26f599df.tar.gz
cwm-b31b09dfc26b4b17c025d7196b8b5a4a26f599df.tar.xz
cwm-b31b09dfc26b4b17c025d7196b8b5a4a26f599df.zip
Purely mechanical; unify 'num', 'no' and 'shortcut'.
Diffstat (limited to 'xutil.c')
-rw-r--r--xutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xutil.c b/xutil.c
index 8fdc3ad..3c4d004 100644
--- a/xutil.c
+++ b/xutil.c
@@ -291,10 +291,10 @@ xu_ewmh_net_desktop_names(struct screen_ctx *sc, char *data, int n)
 void
 xu_ewmh_net_wm_desktop(struct client_ctx *cc)
 {
-	long	 no = cc->group->shortcut;
+	long	 num = cc->group->num;
 
 	XChangeProperty(X_Dpy, cc->win, ewmh[_NET_WM_DESKTOP],
-	    XA_CARDINAL, 32, PropModeReplace, (unsigned char *)&no, 1);
+	    XA_CARDINAL, 32, PropModeReplace, (unsigned char *)&num, 1);
 }
 
 Atom *