summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2001-02-28 06:43:58 +0000
committersabetts <sabetts>2001-02-28 06:43:58 +0000
commit811441c3d6f45b4d6eebbf919dac160619a3a389 (patch)
tree32b121b27c51fdf5f31fadd22d8be470737e8e84 /src/actions.c
parent76914858f3b8f0186db202a1427e11fe9b2fc990 (diff)
downloadratpoison-811441c3d6f45b4d6eebbf919dac160619a3a389.zip
* actions.c (cmd_escape): updates the "other" command keybinding
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/actions.c b/src/actions.c
index 15bbe3d..4be87f3 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -715,6 +715,15 @@ cmd_escape (void *data)
action->state = 0;
}
+ /* Update the "other" keybinding */
+ action = find_keybinding(prefix_key.sym, prefix_key.state);
+ if (action != NULL)
+ {
+ action->key = key->sym;
+ action->state = key->state;
+ }
+
+
/* Remove the grab on the current prefix key */
for (cur = rp_mapped_window_sentinel->next;
cur != rp_mapped_window_sentinel;