Clear echo area for input methods
* exwm-xim.el (exwm-xim--handle-forward-event-request): exwm-xim enforces `input-method-use-echo-area' but this breaks some input methods. This change clear garbage printed by such input methods.
This commit is contained in:
parent
5505cff826
commit
ddc22f2fed
1 changed files with 2 additions and 0 deletions
|
@ -588,6 +588,8 @@ The actual XIM request is in client message data or a property."
|
|||
;; Always show key strokes.
|
||||
(let ((input-method-use-echo-area t))
|
||||
(setq result (funcall im-func event))
|
||||
;; Clear echo area for the input method.
|
||||
(message nil)
|
||||
;; This also works for portable character encoding.
|
||||
(setq result
|
||||
(encode-coding-string (concat result)
|
||||
|
|
Loading…
Reference in a new issue