all mapped clients now should have a group, so simplify some cases

This commit is contained in:
okan
2014-02-07 21:59:56 +00:00
parent 3cb81ebeea
commit 2a87320bbf
3 changed files with 3 additions and 7 deletions

View File

@@ -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))