diff options
author | Chris Feng <chris.w.feng@gmail.com> | 2018-03-23T15·55+0800 |
---|---|---|
committer | Chris Feng <chris.w.feng@gmail.com> | 2018-03-23T15·55+0800 |
commit | 10eb27eddcfdea1ec27382ea74625af867ceca61 (patch) | |
tree | d0a69df4ebbcc54f0207452566ef1ba610e9c361 /exwm-input.el | |
parent | 02b1be7160051610a542764ec392e3a50f23fb5a (diff) |
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.
Diffstat (limited to 'exwm-input.el')
-rw-r--r-- | exwm-input.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exwm-input.el b/exwm-input.el index 504307768c2d..dae0153e5427 100644 --- a/exwm-input.el +++ b/exwm-input.el @@ -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)) |