mirror of
https://github.com/ch11ng/exwm.git
synced 2024-11-23 19:47:58 +01:00
Support disabling default `exwm-mode-map' bindings
* exwm-input.el (exwm-input--on-KeyPress-line-mode): Use `lookup-key' to check whether a the event is defined in the `exwm-mode-map' keymap.
This commit is contained in:
parent
ad90af19a6
commit
7c9bc5d6d0
1 changed files with 1 additions and 1 deletions
|
@ -566,7 +566,7 @@ instead."
|
|||
;;
|
||||
(memq event exwm-input--global-prefix-keys)
|
||||
(memq event exwm-input-prefix-keys)
|
||||
(assq event (cdr exwm-mode-map))
|
||||
(lookup-key exwm-mode-map (vector event))
|
||||
(gethash event exwm-input--simulation-keys)))
|
||||
(setq mode xcb:Allow:AsyncKeyboard)
|
||||
(exwm-input--cache-event event))
|
||||
|
|
Loading…
Reference in a new issue