mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
revert previous; seems search_match_text() needs mi->text pre-populated.
(only used in one place, application menu searching); re-visit later. broken application menu searching reported by Peter Kane.
This commit is contained in:
parent
cb900def7f
commit
02779e64b8
2
kbfunc.c
2
kbfunc.c
@ -178,7 +178,7 @@ kbfunc_menu_cmd(struct client_ctx *cc, union arg *arg)
|
|||||||
|
|
||||||
TAILQ_INIT(&menuq);
|
TAILQ_INIT(&menuq);
|
||||||
TAILQ_FOREACH(cmd, &Conf.cmdq, entry)
|
TAILQ_FOREACH(cmd, &Conf.cmdq, entry)
|
||||||
menuq_add(&menuq, cmd, NULL);
|
menuq_add(&menuq, cmd, "%s", cmd->name);
|
||||||
|
|
||||||
if ((mi = menu_filter(sc, &menuq, "application", NULL, 0,
|
if ((mi = menu_filter(sc, &menuq, "application", NULL, 0,
|
||||||
search_match_text, search_print_cmd)) != NULL)
|
search_match_text, search_print_cmd)) != NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user