summary refs log tree commit diff
path: root/mousefunc.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 /mousefunc.c
parent30da2211ddbc39036e98ae951ea53d9a1793c376 (diff)
downloadcwm-b31b09dfc26b4b17c025d7196b8b5a4a26f599df.tar.gz
cwm-b31b09dfc26b4b17c025d7196b8b5a4a26f599df.tar.xz
cwm-b31b09dfc26b4b17c025d7196b8b5a4a26f599df.zip
Purely mechanical; unify 'num', 'no' and 'shortcut'.
Diffstat (limited to 'mousefunc.c')
-rw-r--r--mousefunc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mousefunc.c b/mousefunc.c
index e2b5766..d6373cb 100644
--- a/mousefunc.c
+++ b/mousefunc.c
@@ -202,8 +202,7 @@ mousefunc_menu_unhide(struct client_ctx *cc, union arg *arg)
 			if (wname == NULL)
 				continue;
 
-			menuq_add(&menuq, cc, "(%d) %s",
-			    cc->group->shortcut, wname);
+			menuq_add(&menuq, cc, "(%d) %s", cc->group->num, wname);
 		}
 
 	if (TAILQ_EMPTY(&menuq))