xserver/test/xi2
Peter Hutterer f11c5938d7 Xi: fix modifier offset in XIPassiveGrab swapping function
The request is followed by mask_len 4-byte units, then followed by the actual
modifiers.

Also fix up the swapping test, which had the same issue.

Reported-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
(cherry picked from commit 76b3be75b6)

Conflicts:
	test/xi2/protocol-xipassivegrabdevice.c
2014-02-19 10:24:08 +10:00
..
.gitignore test: add new test cases to .gitignore 2012-03-04 20:01:29 -08:00
Makefile.am Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
protocol-common.c test: init the sync extensions for tests to pass again 2012-03-29 08:14:31 +10:00
protocol-common.h test: fix redundant declaration of "BadDevice" 2012-05-16 10:59:39 +10:00
protocol-eventconvert.c Merge remote-tracking branch 'yselkowitz/master' 2012-12-19 12:22:03 -08:00
protocol-xigetclientpointer.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
protocol-xigetselectedevents.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
protocol-xipassivegrabdevice.c Xi: fix modifier offset in XIPassiveGrab swapping function 2014-02-19 10:24:08 +10:00
protocol-xiquerydevice.c Fix formatting of address operators 2012-12-05 18:09:48 -06:00
protocol-xiquerypointer.c test: fix redundant declaration of "BadDevice" 2012-05-16 10:59:39 +10:00
protocol-xiqueryversion.c test/xi2: fix protocol-xiqueryversion test 2013-08-01 14:56:54 +10:00
protocol-xiselectevents.c Fix formatting of address operators 2012-12-05 18:09:48 -06:00
protocol-xisetclientpointer.c test: fix redundant declaration of "BadDevice" 2012-05-16 10:59:39 +10:00
protocol-xiwarppointer.c test/xi2: fix compiler warning 2012-12-21 13:04:09 +10:00
xi2.c dix: split xi2_mask_isset into a per-device function 2012-12-12 17:25:16 +10:00