summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
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;