Fix local simulation keys

* exwm-input.el (exwm-input--on-KeyPress-line-mode): Do not test
`exwm-mode-map' to see if a key should be forwarded to Emacs as it's
overridden when local simulation keys are present.
This commit is contained in:
Chris Feng 2018-03-23 23:55:28 +08:00
parent 02b1be7160
commit 10eb27eddc

View file

@ -567,7 +567,7 @@ instead."
;;
(memq event exwm-input--global-prefix-keys)
(memq event exwm-input-prefix-keys)
(lookup-key exwm-mode-map (vector event))
(lookup-key (current-local-map) (vector event))
(gethash event exwm-input--simulation-keys)))
(setq mode xcb:Allow:AsyncKeyboard)
(exwm-input--cache-event event))