mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
Lost fix from r1.112; add comment.
Reported (again!) by Peter Kane.
This commit is contained in:
parent
28d4001eca
commit
47a10cc055
3
kbfunc.c
3
kbfunc.c
@ -181,7 +181,8 @@ kbfunc_menu_cmd(struct client_ctx *cc, union arg *arg)
|
||||
if ((strcmp(cmd->name, "lock") == 0) ||
|
||||
(strcmp(cmd->name, "term") == 0))
|
||||
continue;
|
||||
menuq_add(&menuq, cmd, NULL);
|
||||
/* search_match_text() needs mi->text */
|
||||
menuq_add(&menuq, cmd, "%s", cmd->name);
|
||||
}
|
||||
|
||||
if ((mi = menu_filter(sc, &menuq, "application", NULL, 0,
|
||||
|
Loading…
Reference in New Issue
Block a user