fix: unable to bind anything to XK_Escape
This commit is contained in:
parent
af98249b68
commit
3bec517655
2
main.c
2
main.c
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue