diff options
author | NRK <nrk@disroot.org> | 2021-09-24 11:28:52 +0600 |
---|---|---|
committer | N-R-K <79544946+N-R-K@users.noreply.github.com> | 2021-09-24 17:29:30 +0600 |
commit | 3bec5176555e9ca56898c909dd9e90dae0d126b6 (patch) | |
tree | 801e5f943a65324aeebab1d72b88413996e051f3 | |
parent | af98249b6886defcd9d456bd5a23082f9ec7f75f (diff) |
fix: unable to bind anything to XK_Escape
-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); |