From 4ec8fd5377bb05ef5646ab461e3957e201c1b9fb Mon Sep 17 00:00:00 2001 From: NRK Date: Fri, 24 Sep 2021 16:39:50 +0600 Subject: make keyhandler abort key configurable via config.h --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') 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); -- cgit v1.2.3