branch: externals/exwm
commit 7f4b9cdb0f4122f561d26dcb39d405deeadf931e
Author: Chris Feng <chris.w.f...@gmail.com>
Commit: Chris Feng <chris.w.f...@gmail.com>

    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).
---
 exwm-xim.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/exwm-xim.el b/exwm-xim.el
index 6a3b888..acf718e 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)

Reply via email to