mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
Introduce a callback for cmd menu printing, special-casing 'lock' and
'term'.
This commit is contained in:
2
kbfunc.c
2
kbfunc.c
@@ -181,7 +181,7 @@ kbfunc_menu_cmd(struct client_ctx *cc, union arg *arg)
|
||||
menuq_add(&menuq, cmd, "%s", cmd->name);
|
||||
|
||||
if ((mi = menu_filter(sc, &menuq, "application", NULL, 0,
|
||||
search_match_text, NULL)) != NULL)
|
||||
search_match_text, search_print_cmd)) != NULL)
|
||||
u_spawn(((struct cmd *)mi->ctx)->path);
|
||||
|
||||
menuq_clear(&menuq);
|
||||
|
||||
Reference in New Issue
Block a user