From 1198b2e494c824d6ac584781f813f00fde7de352 Mon Sep 17 00:00:00 2001 From: Okan Demirmen Date: Mon, 8 Sep 2014 21:15:15 +0000 Subject: name the group client queue appropriately, like other queues --- app/cwm/mousefunc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/cwm/mousefunc.c') diff --git a/app/cwm/mousefunc.c b/app/cwm/mousefunc.c index f2ce0ef3a..c8f7a7302 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.79 2014/09/08 20:11:22 okan Exp $ + * $OpenBSD: mousefunc.c,v 1.80 2014/09/08 21:15:14 okan Exp $ */ #include @@ -188,7 +188,7 @@ mousefunc_menu_group(struct client_ctx *cc, union arg *arg) TAILQ_INIT(&menuq); TAILQ_FOREACH(gc, &sc->groupq, entry) { - if (TAILQ_EMPTY(&gc->clients)) + if (TAILQ_EMPTY(&gc->clientq)) continue; menuq_add(&menuq, gc, group_hidden_state(gc) ? "%d: [%s]" : "%d: %s", -- cgit v1.2.3