mirror of
https://github.com/ch11ng/exwm.git
synced 2024-11-27 21:18:00 +01:00
* exwm-input.el (exwm-input--on-KeyPress-char-mode): No need to
force events to be added to `this-command-keys' (and it causes problems).
This commit is contained in:
parent
650ed0013c
commit
eee5c6fa4d
1 changed files with 1 additions and 3 deletions
|
@ -319,9 +319,7 @@ It's updated in several occasions, and only used by `exwm-input--set-focus'.")
|
||||||
(setq exwm-input--temp-line-mode t
|
(setq exwm-input--temp-line-mode t
|
||||||
exwm-input--during-key-sequence t)
|
exwm-input--during-key-sequence t)
|
||||||
(exwm-input--grab-keyboard)) ;grab keyboard temporarily
|
(exwm-input--grab-keyboard)) ;grab keyboard temporarily
|
||||||
;; Feed this event to command loop. Also force it to be added to
|
(push event unread-command-events))))
|
||||||
;; `this-command-keys'.
|
|
||||||
(push (cons t event) unread-command-events))))
|
|
||||||
(xcb:+request exwm--connection
|
(xcb:+request exwm--connection
|
||||||
(make-instance 'xcb:AllowEvents
|
(make-instance 'xcb:AllowEvents
|
||||||
:mode xcb:Allow:AsyncKeyboard
|
:mode xcb:Allow:AsyncKeyboard
|
||||||
|
|
Loading…
Reference in a new issue