diff options
author | okan | 2015-06-08 15:43:13 +0000 |
---|---|---|
committer | okan | 2015-06-08 15:43:13 +0000 |
commit | 7f31b5eacaa002d8a321609af1c64856f2fcfb0d (patch) | |
tree | c6469628cf5989eb5eafb2fb7ecfabc832140eeb /kbfunc.c | |
parent | 94f0a772b27da78256ce1de32a3657ee6f9e5eb9 (diff) | |
download | cwm-7f31b5eacaa002d8a321609af1c64856f2fcfb0d.tar.gz |
just populating the ctx is enough since the menu uses a callback and ignores anything else
Diffstat (limited to '')
-rw-r--r-- | kbfunc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 <sys/types.h> @@ -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) { |