xserver/hw
Vlad Zahorodnii 0eb1ea5a48 xwayland: Dispatch tablet tool tip events after frame events
Xwayland dispatches tablet tool tip events immediately when they arrive.

With compositors such as mutter and sway, it is not an issue because
their libinput backends synthetize axis events before tip events. In
other words, axis data and the tip status belong to different frames.

On the other hand, kwin sends axis and tip events in a single frame
(its libinput backend generates a single tip event with axis data
attached to it). Since the tip events are dispatched immediately,
they can have wrong information associated with them, for example tool
position or pressure. It results in undesired "streaks" when the user
presses the tablet tool against the tablet.

See also https://bugs.kde.org/show_bug.cgi?id=479856.

Signed-off-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2032>
(cherry picked from commit 60f0bfe852)
2026-01-25 10:40:02 -08:00
..
kdrive Xephyr.man: Use \- to get ASCII hyphens instead of Unicode dashes 2026-01-25 10:40:01 -08:00
vfb man pages: remove extraneous PP macros 2026-01-25 10:40:01 -08:00
xfree86 xfree86: Check for RandR provider functions 2026-01-25 10:40:02 -08:00
xnest Xnest: use authorative declarations from X11/XKBlib.h 2026-01-25 10:40:01 -08:00
xquartz man pages: remove extraneous PP macros 2026-01-25 10:40:01 -08:00
xwayland xwayland: Dispatch tablet tool tip events after frame events 2026-01-25 10:40:02 -08:00
xwin XWin.man: fix typos in font change escapes 2026-01-25 10:40:01 -08:00
meson.build meson.build: print a summary of the DDX to build 2026-01-25 10:40:01 -08:00