xserver-multidpi/test/xi2
Peter Hutterer 76b3be75b6 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>
2014-01-25 18:54:16 +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/xi2: Clean up -Wshadow warnings 2014-01-22 19:56:32 -08:00
protocol-common.h test/xi2: Clean up -Wshadow warnings 2014-01-22 19:56:32 -08: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 Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
protocol-xipassivegrabdevice.c Xi: fix modifier offset in XIPassiveGrab swapping function 2014-01-25 18:54:16 +10:00
protocol-xiquerydevice.c test/xi2: Clean up -Wshadow warnings 2014-01-22 19:56:32 -08:00
protocol-xiquerypointer.c test: fix redundant declaration of "BadDevice" 2012-05-16 10:59:39 +10:00
protocol-xiqueryversion.c test/xi2: Clean up -Wshadow warnings 2014-01-22 19:56:32 -08: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