branch: externals/exwm
commit d47fb8e72d89a9406c2061abba319c62bda1f78d
Author: Herwig Hochleitner <[email protected]>
Commit: GitHub <[email protected]>

    Revert recent change to set-local-simulation-keys (#164)
    
    In 
https://github.com/emacs-exwm/exwm/commit/14b348ca0d3ce905538fcd565198ece2aee73c0e#diff-94285665bcafd9ba72e847570507be239dc8a2831a8a0b59aa318aef3da1fa70L1065-R1063
 the behavior of `exwm-input-set-local-simulation-keys` was changed to pass a 
non-nil cache argument to `exwm-input--set-simulation-keys simulation-keys`. 
This breaks local simulation keys, e.g. in my instance, my (non-emacs) terminal 
suddenly started interpreting various global simulation keys, even though they 
were excl [...]
    
    * exwm-input.el (exwm-input-set-local-simulation-keys): revert change.
---
 exwm-input.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exwm-input.el b/exwm-input.el
index 80af7bb3c1..c34b62d78d 100644
--- a/exwm-input.el
+++ b/exwm-input.el
@@ -1060,7 +1060,7 @@ where both ORIGINAL-KEY and SIMULATED-KEY are key 
sequences."
   (exwm--log)
   (make-local-variable 'exwm-input--simulation-keys)
   (use-local-map (copy-keymap exwm-mode-map))
-  (exwm-input--set-simulation-keys simulation-keys 'cache 'local))
+  (exwm-input--set-simulation-keys simulation-keys nil 'local))
 
 (cl-defun exwm-input-send-simulation-key (n)
   "Fake N key events according to the last input key sequence."

Reply via email to