From 7f31b5eacaa002d8a321609af1c64856f2fcfb0d Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 8 Jun 2015 15:43:13 +0000 Subject: just populating the ctx is enough since the menu uses a callback and ignores anything else --- kbfunc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kbfunc.c') diff --git a/kbfunc.c b/kbfunc.c index 1615788..b13d600 100644 --- a/kbfunc.c +++ b/kbfunc.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: kbfunc.c,v 1.106 2015/05/21 00:37:04 okan Exp $ + * $OpenBSD: kbfunc.c,v 1.107 2015/06/08 15:43:13 okan Exp $ */ #include @@ -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) { -- cgit v1.2.3-2-gb3c3