about summary refs log tree commit diff
path: root/xinitrc
diff options
context:
space:
mode:
authorAdrián Medraño Calvo <adrian@medranocalvo.com>2018-10-08T12·00+0000
committerAdrián Medraño Calvo <adrian@medranocalvo.com>2018-10-08T12·00+0000
commitdff1ef6a3c36fd7d8b3a3bafbd66a91b8e576b26 (patch)
tree3cee64b88e0658c8e0d8a57297c875fe169fcb8a /xinitrc
parent472f7cb82b67b98843f10c12e6bda9b8ae7262bc (diff)
Simplify input handling
No functional change.

* exwm-input.el (exwm-input--current-input-mode): New function
indicating keyboard input mode.
(exwm-input--on-KeyPress, exwm-input--update-mode-line): Use
`exwm-input--current-input-mode'.
(exwm-input-grab-keyboard, exwm-input-release-keyboard)
(exwm-input--update-mode-line): Simplify.

* exwh-core.el (exwm--on-KeyPress): Remove variable, use
`exwm--keyboard-grabbed' and `exwm-input--current-input-mode'
instead.
Diffstat (limited to 'xinitrc')
0 files changed, 0 insertions, 0 deletions