summary refs log tree commit diff
path: root/mousefunc.c
diff options
context:
space:
mode:
authorokan <okan>2014-02-07 21:59:56 +0000
committerokan <okan>2014-02-07 21:59:56 +0000
commit2a87320bbf34457b79c55ad95d92a5eda4465073 (patch)
tree367550a1fc655987c4e3a326fc25054445c941e0 /mousefunc.c
parent3cb81ebeead55a21f679f54e1a4105dccb2a613c (diff)
downloadcwm-2a87320bbf34457b79c55ad95d92a5eda4465073.tar.gz
cwm-2a87320bbf34457b79c55ad95d92a5eda4465073.tar.xz
cwm-2a87320bbf34457b79c55ad95d92a5eda4465073.zip
all mapped clients now should have a group, so simplify some cases
Diffstat (limited to 'mousefunc.c')
-rw-r--r--mousefunc.c2
1 files changed, 1 insertions, 1 deletions
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))