diff options
author | niallo <niallo> | 2007-06-26 19:34:26 +0000 |
---|---|---|
committer | niallo <niallo> | 2007-06-26 19:34:26 +0000 |
commit | a1d4169eb318f504f3a869ec429517de25eb5427 (patch) | |
tree | 1812ecd40728155f98ea4e415efa34e152f6bcf9 /calmwm.h | |
parent | 80d08270b87adce365904cfa43a8135cf7b13fb1 (diff) | |
download | cwm-a1d4169eb318f504f3a869ec429517de25eb5427.tar.gz cwm-a1d4169eb318f504f3a869ec429517de25eb5427.tar.xz cwm-a1d4169eb318f504f3a869ec429517de25eb5427.zip |
modify "exec" dialog so that it auto-completes based on executables in
_PATH_DEFPATH add an "ssh-to" dialog which auto-completes based on contents of ~/.ssh/known_hosts (M-.) testing and eyeballing by Simon Kuhnle <simonkuhnle at web.de>, todd@, pedro@ mk@ and David Cathcart <david at cathcart.cx> ok todd@
Diffstat (limited to 'calmwm.h')
-rw-r--r-- | calmwm.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h index d8158ea..5bbd3c0 100644 --- a/calmwm.h +++ b/calmwm.h @@ -257,6 +257,7 @@ struct menu { char print[MENU_MAXENTRY + 1]; void *ctx; short lasthit; + short dummy; }; TAILQ_HEAD(menu_q, menu); @@ -427,6 +428,7 @@ void kbfunc_client_maximize(struct client_ctx *, void *); void kbfunc_client_vmaximize(struct client_ctx *, void *); void kbfunc_menu_search(struct client_ctx *, void *); void kbfunc_exec(struct client_ctx *, void *); +void kbfunc_ssh(struct client_ctx *, void *); void kbfunc_term(struct client_ctx *cc, void *arg); void kbfunc_lock(struct client_ctx *cc, void *arg); @@ -437,10 +439,11 @@ struct menu *search_start(struct menu_q *menuq, void (*match)(struct menu_q *, struct menu_q *, char *), void (*rank)(struct menu_q *, char *), void (*print)(struct menu *mi, int), - char *); + char *, int); void search_match_client(struct menu_q *, struct menu_q *, char *); void search_print_client(struct menu *mi, int list); void search_match_text(struct menu_q *, struct menu_q *, char *); +void search_match_exec(struct menu_q *, struct menu_q *, char *); void search_rank_text(struct menu_q *, char *); void group_init(void); |