xserver/hw
Ian Douglas Scott b1ea02b291 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.

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1527>
(cherry picked from commit 386b54fbe9)
2026-01-25 10:39:56 -08:00
..
kdrive treewide: replace xnfcalloc() calls by XNFcallocarray() 2026-01-25 10:39:55 -08:00
vfb Xvfb: Support up to 13 mouse buttons 2024-01-08 11:16:11 +00:00
xfree86 compiler.h: drop translation of Sun compiler platform defines to gcc 2026-01-25 10:39:55 -08:00
xnest rename remaining RT_* defines to X11_RESTYPE_* 2026-01-19 12:48:30 -08:00
xquartz fix missing includes of <X11/Xfuncproto.h> 2026-01-25 10:39:55 -08:00
xwayland xwayland: Release keys on keyboard enter event if leave wasn't received 2026-01-25 10:39:56 -08:00
xwin fix missing includes of <X11/Xfuncproto.h> 2026-01-25 10:39:55 -08:00
meson.build Drop DMX DDX 2021-09-07 09:34:31 +00:00