diff options
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -587,7 +587,7 @@ void on_keypress(XKeyEvent *kev) } if (IsModifierKey(ksym)) return; - if (ksym == XK_Escape && MODMASK(kev->state) == 0) { + if (extprefix && ksym == XK_Escape && MODMASK(kev->state) == 0) { extprefix = False; } else if (extprefix) { run_key_handler(XKeysymToString(ksym), kev->state & ~sh); |