diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/actions.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/actions.c b/src/actions.c index 387865e..df8a4b5 100644 --- a/src/actions.c +++ b/src/actions.c @@ -2578,7 +2578,10 @@ cmd_escape (int interactive, struct cmdarg **args) if (action != NULL && !strcmp (action->data, "meta")) { action->key = key->sym; - action->state = 0; + if (key->state != 0) + action->state = 0; + else + action-state = RP_CONTROL_MASK; } /* Remove the grab on the current prefix key */ |