aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 707e833..59f1f21 100644
--- a/main.c
+++ b/main.c
@@ -587,7 +587,7 @@ void on_keypress(XKeyEvent *kev)
}
if (IsModifierKey(ksym))
return;
- if (extprefix && ksym == XK_Escape && MODMASK(kev->state) == 0) {
+ if (extprefix && ksym == keyhandler_abort && MODMASK(kev->state) == 0) {
extprefix = False;
} else if (extprefix) {
run_key_handler(XKeysymToString(ksym), kev->state & ~sh);