From 2d594205560e963ac4595cdbb5430492619486ce Mon Sep 17 00:00:00 2001 From: sabetts Date: Tue, 4 Sep 2001 07:24:39 +0000 Subject: * src/actions.h (cmd_unbind): new prototype * src/actions.c (find_keybinding): Change the first parameter's type to KeySym. Prototype updated. (add_keybinding): likewise (remove_keybinding): new function. (key_actions): new command 'unbind'. (key_actions): #if out the unimplemented bindings. (cmd_bind): Error messages are more accurate. (cmd_unbind): new function. (cmd_escape): update the "other" command before the "generate" command. (cmd_escape): When searching for the "other" and "generate" commands' keystrokes, verify that the located action is the right command. --- src/actions.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/actions.h') diff --git a/src/actions.h b/src/actions.h index 5a32952..5410d5a 100644 --- a/src/actions.h +++ b/src/actions.h @@ -74,10 +74,11 @@ char * cmd_help (int interactive, void *data); char * cmd_quit(int interactive, void *data); char * cmd_number (int interactive, void *data); char * cmd_rudeness (int interactive, void *data); +char * cmd_unbind (int interactive, void *data); /* void cmd_xterm (void *data); */ void initialize_default_keybindings (void); -rp_action* find_keybinding (int keysym, int state); +rp_action* find_keybinding (KeySym keysym, int state); #endif /* ! _RATPOISON_ACTIONS_H */ -- cgit v1.2.3