mirror of
https://github.com/ch11ng/exwm.git
synced 2024-11-23 19:47:58 +01:00
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:
parent
921b0e3efe
commit
7f4b9cdb0f
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue