aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-08-15 00:59:39 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-08-20 11:14:56 +0900
commit384afc5cb5000374414eeaec8cbb667451fcce5b (patch)
tree3327591d7074585375addf18e5f013db057e93a5 /include/sway/config.h
parentRemove xdg-shell v6 support (diff)
downloadsway-384afc5cb5000374414eeaec8cbb667451fcce5b.tar.gz
sway-384afc5cb5000374414eeaec8cbb667451fcce5b.tar.zst
sway-384afc5cb5000374414eeaec8cbb667451fcce5b.zip
input/keyboard: send released only if pressed sent
This keeps track of whether surfaces received a key press event and will only send a key release event if the pressed event was sent. This also requires changing the keycodes that are sent via wl_keyboard_enter to only include those that were previously sent. This makes it so surfaces do not receive key release events for keys that they never received a key press for and makes it so switching focus doesn't leak keycodes that were consumed by bindings.
Diffstat (limited to 'include/sway/config.h')
0 files changed, 0 insertions, 0 deletions