diff options
author | sabetts <sabetts> | 2001-09-04 07:24:39 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2001-09-04 07:24:39 +0000 |
commit | 2d594205560e963ac4595cdbb5430492619486ce (patch) | |
tree | 2d1bd38b2c9ab4f5e55dbad1f340c824e94ff7ec /src/actions.h | |
parent | 6e659e8c781fcff977c326c7a9eefc6788e6f8c2 (diff) | |
download | ratpoison-2d594205560e963ac4595cdbb5430492619486ce.zip |
* 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.
Diffstat (limited to 'src/actions.h')
-rw-r--r-- | src/actions.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 */ |