From 654bae4f59e15631163be702833cebe3894ef945 Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 8 Jun 2015 15:43:13 +0000 Subject: [PATCH] just populating the ctx is enough since the menu uses a callback and ignores anything else --- kbfunc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kbfunc.c b/kbfunc.c index ba1f96a..a6364ac 100644 --- a/kbfunc.c +++ b/kbfunc.c @@ -153,7 +153,7 @@ kbfunc_client_search(struct client_ctx *cc, union arg *arg) TAILQ_INIT(&menuq); TAILQ_FOREACH(cc, &sc->clientq, entry) - menuq_add(&menuq, cc, "%s", cc->name); + menuq_add(&menuq, cc, NULL); if ((mi = menu_filter(sc, &menuq, "window", NULL, 0, search_match_client, search_print_client)) != NULL) {