diff options
author | Yuya Nishihara <yuya@tcha.org> | 2021-05-06 17:33:39 +0900 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-05-07 11:18:19 +0200 |
commit | 8008d21f5b81c705bb14d168aeda508c975125c9 (patch) | |
tree | 11a653e40c0fe3acd371d6477f024cc7594e3e70 /backend/libinput | |
parent | ed7f2651b60e2d2e401041502656cd9f954a56cf (diff) |
virtual_keyboard: Emulate key release events on destroy
According to libinput, release events are generated when device is unplugged,
and libinput copies this behavior for device removal. Let's do the same for
our virtual keyboard.
https://github.com/wayland-project/libinput/commit/8f846a41fa0566fbd72ece676656e20e56ce43e6
This is another attempt to fix #2034 and the following sway issue:
https://github.com/swaywm/sway/issues/6254
Note that we have other key repeating issues in sway, which aren't addressed
by this patch. Since the virtual keyboard itself isn't destroyed when the
keyboard grab is destroyed, we'll probably need some trick to reset the state
of the corresponding virtual keyboard when the grab is released.
https://github.com/swaywm/sway/issues/6095
https://github.com/swaywm/sway/issues/6193
Diffstat (limited to 'backend/libinput')
0 files changed, 0 insertions, 0 deletions