summaryrefslogtreecommitdiff
path: root/app/cwm/mousefunc.c
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2014-08-20 15:15:30 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2014-08-20 15:15:30 +0000
commit5fc4c9fee09a684f6e55c3251c96aac533fef84a (patch)
tree02a3ccf86541cd1767a90df08e815cfc9fb01497 /app/cwm/mousefunc.c
parent31426fb27ee9d22fc9a44d63d8bb70d046e133e3 (diff)
Purely mechanical; unify 'num', 'no' and 'shortcut'.
Diffstat (limited to 'app/cwm/mousefunc.c')
-rw-r--r--app/cwm/mousefunc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/cwm/mousefunc.c b/app/cwm/mousefunc.c
index 5bf3468a4..c95499157 100644
--- a/app/cwm/mousefunc.c
+++ b/app/cwm/mousefunc.c
@@ -16,7 +16,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: mousefunc.c,v 1.71 2014/02/07 21:59:56 okan Exp $
+ * $OpenBSD: mousefunc.c,v 1.72 2014/08/20 15:15:29 okan Exp $
*/
#include <sys/param.h>
@@ -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))