mirror of
https://github.com/ch11ng/exwm.git
synced 2024-11-27 13:07:59 +01:00
Handle (t . EVENT) format events in exwm-xim
* exwm-xim.el (exwm-xim--handle-forward-event-request): Ditto.
This commit is contained in:
parent
75833e0c53
commit
8a54504152
1 changed files with 5 additions and 1 deletions
|
@ -546,7 +546,11 @@ The actual XIM request is in client message data or a property."
|
||||||
(logand state (lognot (cdr keysym)))))))
|
(logand state (lognot (cdr keysym)))))))
|
||||||
(while (or (slot-value req 'event) unread-command-events)
|
(while (or (slot-value req 'event) unread-command-events)
|
||||||
(unless (slot-value req 'event)
|
(unless (slot-value req 'event)
|
||||||
(setq event (pop unread-command-events)))
|
(setq event (pop unread-command-events))
|
||||||
|
;; Handle events in (t . EVENT) format.
|
||||||
|
(when (and (consp event)
|
||||||
|
(eq (car event) t))
|
||||||
|
(setq event (cdr event))))
|
||||||
(if (or (not im-func)
|
(if (or (not im-func)
|
||||||
;; `list' is the default method.
|
;; `list' is the default method.
|
||||||
(eq im-func #'list)
|
(eq im-func #'list)
|
||||||
|
|
Loading…
Reference in a new issue