xserver/hw
Olivier Fourdan a5c8be657f xwayland/ei: Dequeue events when all caps are available
Currently, we would start dequeuing events as soon as a device is
resumed, regardless of its capabilities.

If the capabilities are not available, we would just fallback to the
regular XTEST code path and not use input emulation.

As a result, it is very likely that we shall lose the first events until
the compositor resumes first a device with the requested capabilities.

To avoid that issue, start emulating only once we have the requested
capabilities, if they match the seat capabilities.

Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1732
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1631>
(cherry picked from commit 0525b9a5b9)
2026-01-25 10:39:55 -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/ei: Dequeue events when all caps are available 2026-01-25 10:39:55 -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