diff options
author | okan | 2015-06-30 18:54:12 +0000 |
---|---|---|
committer | okan | 2015-06-30 18:54:12 +0000 |
commit | 71d55b5fbd537c425ecee3649e183818b220d5ef (patch) | |
tree | b689288dc8cabf59d400be88e10bd2bcd7605fa1 /mousefunc.c | |
parent | 931b7e89b025a354af81008fc7f799903ea16bee (diff) | |
download | cwm-71d55b5fbd537c425ecee3649e183818b220d5ef.tar.gz |
Introduce a callback for cmd menu printing, special-casing 'lock' and
'term'.
Diffstat (limited to '')
-rw-r--r-- | mousefunc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mousefunc.c b/mousefunc.c index 5733f0a..10a03a5 100644 --- a/mousefunc.c +++ b/mousefunc.c @@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: mousefunc.c,v 1.92 2015/06/26 17:17:46 okan Exp $ + * $OpenBSD: mousefunc.c,v 1.93 2015/06/30 18:54:12 okan Exp $ */ #include <sys/types.h> @@ -239,7 +239,7 @@ mousefunc_menu_cmd(struct client_ctx *cc, union arg *arg) menuq_add(&menuq, cmd, "%s", cmd->name); if ((mi = menu_filter(sc, &menuq, NULL, NULL, CWM_MENU_LIST, - NULL, NULL)) != NULL) + NULL, search_print_cmd)) != NULL) u_spawn(((struct cmd *)mi->ctx)->path); menuq_clear(&menuq); |