about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2020-05-10T00·00+0000
committerChris Feng <chris.w.feng@gmail.com>2020-05-10T00·00+0000
commit7f4b9cdb0f4122f561d26dcb39d405deeadf931e (patch)
tree5d978b155950a500f3d43536a60720dc208d3322
parent921b0e3efe11c29f433106f14b4ecb7e0ac71651 (diff)
Make return key work in exwm-xim
* exwm-xim.el (exwm-xim--handle-forward-event-request): Send all key
events to Emacs while invoking an input method (don't rely on its
keymap definition).
-rw-r--r--exwm-xim.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/exwm-xim.el b/exwm-xim.el
index 6a3b888b4748..acf718e27fd3 100644
--- a/exwm-xim.el
+++ b/exwm-xim.el
@@ -586,7 +586,8 @@ The actual XIM request is in client message data or a property."
         (unwind-protect
             (with-temp-buffer
               ;; Always show key strokes.
-              (let ((input-method-use-echo-area t))
+              (let ((input-method-use-echo-area t)
+                    (exwm-input-line-mode-passthrough t))
                 (setq result (funcall im-func event))
                 ;; Clear echo area for the input method.
                 (message nil)