aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorniallo2007-06-26 19:34:26 +0000
committerniallo2007-06-26 19:34:26 +0000
commitd159196cb5b6b857a36ebbc97e19e6205ab1c98d (patch)
tree6849206fe3eef1efa162451ded69ef09a5e28f04 /calmwm.h
parent65c89b8358ae0ace01a76a8d2b6d39c4a673f1fb (diff)
downloadcwm-d159196cb5b6b857a36ebbc97e19e6205ab1c98d.tar.gz
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.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/calmwm.h b/calmwm.h
index 49da89c..5a47cb9 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -4,7 +4,7 @@
* Copyright (c) 2004 Marius Aamodt Eriksen <marius@monkey.org>
* All rights reserved.
*
- * $Id: calmwm.h,v 1.6 2007/06/05 19:03:20 jasper Exp $
+ * $Id: calmwm.h,v 1.7 2007/06/26 19:34:26 niallo Exp $
*/
#ifndef _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);