From 7f4b9cdb0f4122f561d26dcb39d405deeadf931e Mon Sep 17 00:00:00 2001 From: Chris Feng Date: Sun, 10 May 2020 00:00:00 +0000 Subject: 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 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) -- cgit 1.4.1