aboutsummaryrefslogtreecommitdiffstats
path: root/kbfunc.c
diff options
context:
space:
mode:
authorokan2015-06-08 15:43:13 +0000
committerokan2015-06-08 15:43:13 +0000
commit7f31b5eacaa002d8a321609af1c64856f2fcfb0d (patch)
treec6469628cf5989eb5eafb2fb7ecfabc832140eeb /kbfunc.c
parent94f0a772b27da78256ce1de32a3657ee6f9e5eb9 (diff)
downloadcwm-7f31b5eacaa002d8a321609af1c64856f2fcfb0d.tar.gz
just populating the ctx is enough since the menu uses a callback and ignores anything else
Diffstat (limited to 'kbfunc.c')
-rw-r--r--kbfunc.c4
1 files changed, 2 insertions, 2 deletions
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 <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) {