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).
This commit is contained in:
Chris Feng 2020-05-10 00:00:00 +00:00
parent 921b0e3efe
commit 7f4b9cdb0f

View file

@ -586,7 +586,8 @@ The actual XIM request is in client message data or a property."
(unwind-protect (unwind-protect
(with-temp-buffer (with-temp-buffer
;; Always show key strokes. ;; 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)) (setq result (funcall im-func event))
;; Clear echo area for the input method. ;; Clear echo area for the input method.
(message nil) (message nil)