diff options
author | Ian Douglas Scott <idscott@system76.com> | 2024-05-09 15:02:06 -0700 |
---|---|---|
committer | Olivier Fourdan <ofourdan@redhat.com> | 2024-08-06 10:00:59 +0200 |
commit | 4262fb182b2b51fd0ec8bec30671eb3babe94cb0 (patch) | |
tree | 74849d50f312ab8198f03b258ac1f371a6dd37e3 /meson.build | |
parent | 54a591b9b8b8e2cd49fd02be945e9e0912b874c1 (diff) |
xwayland: Release keys on keyboard `enter` event if `leave` wasn't received
The code here assumed a `leave` event always occurs between two `enter`
events. On Sway (and presumably other compositors) this happens even if
the client has destroyed the `wl_surface`, but the client gets a null
`surface` here. (Which presumably on on the wire is the id of the
destroyed surface.)
This seems like a bad thing to rely on, and is easy to avoid. But if
this is correct to assume, the Wayland protocol should be explicit about
this.
(cherry picked from commit 386b54fbe95711e6ecb5c23cfdbf25a1571acf7b)
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1635>
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions