xserver/test/xi2
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lukáš Lipinský ded466957d Xi: byte-swap DeviceChanged valuator and scroll data
SDeviceChangedEvent left ValuatorClass.value and every ScrollClass-specific multi-byte field in server byte order. Swapped clients therefore received corrupt current values and scroll metadata.

Swap those fields and extend the protocol event conversion coverage to nonzero relative valuator values and both scroll directions and flags.

Signed-off-by: Lukáš Lipinský <18076-Mr-Tao@users.noreply.gitlab.freedesktop.org>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2291>
(cherry picked from commit cf91b97d6c)
(cherry picked from commit 7a7e9c66b17cd0d64d31fa19244f3e4eb162fed7)
(cherry picked from commit f9e486ad1d398fb8dcf48f88cd8923decd291c7c)
(cherry picked from commit cafe531326)
2026-10-03 19:02:23 +02:00
..
protocol-common.c Xext: sync: move it into it's own subdir 2026-06-18 15:32:45 +02:00
protocol-common.h test: drop unncessary include of dix-config.h from headers 2026-02-10 13:23:59 +01:00
protocol-eventconvert.c Xi: byte-swap DeviceChanged valuator and scroll data 2026-10-03 19:02:23 +02:00
protocol-xigetclientpointer.c test: fix <assert.h> includes 2026-06-18 10:13:25 +02:00
protocol-xigetselectedevents.c test: fix <assert.h> includes 2026-06-18 10:13:25 +02:00
protocol-xipassivegrabdevice.c test: fix <assert.h> includes 2026-06-18 10:13:25 +02:00
protocol-xiquerydevice.c Xi: byte-swap XIQueryDevice ScrollClass flags 2026-10-02 13:33:34 +02:00
protocol-xiquerypointer.c test: fix <assert.h> includes 2026-06-18 10:13:25 +02:00
protocol-xiqueryversion.c test: fix <assert.h> includes 2026-06-18 10:13:25 +02:00
protocol-xiselectevents.c test: fix <assert.h> includes 2026-06-18 10:13:25 +02:00
protocol-xisetclientpointer.c test: fix <assert.h> includes 2026-06-18 10:13:25 +02:00
protocol-xiwarppointer.c test: fix <assert.h> includes 2026-06-18 10:13:25 +02:00
xi2.c test: fix <assert.h> includes 2026-06-18 10:13:25 +02:00