diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2014-02-07 21:59:57 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2014-02-07 21:59:57 +0000 |
commit | ebb6563cc154b4efdbf8eec33714e245790d6853 (patch) | |
tree | 22975118f2decbabb6df70e6737ee3b8de3fb503 /app/cwm/mousefunc.c | |
parent | 48a2127d05de53ba680a69080681b109b489ce70 (diff) |
all mapped clients now should have a group, so simplify some cases
Diffstat (limited to 'app/cwm/mousefunc.c')
-rw-r--r-- | app/cwm/mousefunc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cwm/mousefunc.c b/app/cwm/mousefunc.c index 682fa510f..5bf3468a4 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.70 2014/01/30 14:40:21 okan Exp $ + * $OpenBSD: mousefunc.c,v 1.71 2014/02/07 21:59:56 okan Exp $ */ #include <sys/param.h> @@ -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)) |