From 811441c3d6f45b4d6eebbf919dac160619a3a389 Mon Sep 17 00:00:00 2001 From: sabetts Date: Wed, 28 Feb 2001 06:43:58 +0000 Subject: * actions.c (cmd_escape): updates the "other" command keybinding --- src/actions.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/actions.c') 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; -- cgit v1.2.3