about summary refs log tree commit diff
path: root/exwm-manage.el
diff options
context:
space:
mode:
authorAdrián Medraño Calvo <adrian@medranocalvo.com>2016-03-07T00·00+0000
committerAdrián Medraño Calvo <adrian@medranocalvo.com>2016-03-07T00·00+0000
commit1342fe1789184bb6b732d62bdb673139d44b83f0 (patch)
tree10d32fae00b6a5be1d1193369461cdb7ae644edd /exwm-manage.el
parenta50e6bd384d2157cb5070f138eb64d23496cf7ac (diff)
Change input mode of window being clicked
When clicking a mode-line of other window to switch the EXWM input
mode, `window-buffer' does not return the window whose mode-line has
been clicked, but the current one.  This change ensures that the right
window has its input mode and mode-line updated.

* exwm-input.el (exwm-input--update-mode-line): Factor out setting
`mode-line-process'.
(exwm-input--grab-keyboard, exwm-input--release-keyboard)
(exwm-input-grab-keyboard, exwm-input-release-keyboard): Make sure
the buffer of the window being clicked has its input mode updated.
Diffstat (limited to 'exwm-manage.el')
0 files changed, 0 insertions, 0 deletions