From 2a87320bbf34457b79c55ad95d92a5eda4465073 Mon Sep 17 00:00:00 2001 From: okan Date: Fri, 7 Feb 2014 21:59:56 +0000 Subject: all mapped clients now should have a group, so simplify some cases --- mousefunc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mousefunc.c') diff --git a/mousefunc.c b/mousefunc.c index 6fdf4f4..e2b5766 100644 --- a/mousefunc.c +++ b/mousefunc.c @@ -203,7 +203,7 @@ mousefunc_menu_unhide(struct client_ctx *cc, union arg *arg) continue; menuq_add(&menuq, cc, "(%d) %s", - cc->group ? cc->group->shortcut : 0, wname); + cc->group->shortcut, wname); } if (TAILQ_EMPTY(&menuq)) -- cgit 1.4.1