xserver-multidpi/test/xi2
Adam Jackson 6acd0d098a test: Remember to swap the window argument to XIQueryPointer
Before 5c69cb60 this wouldn't matter, because ProcXIQueryPointer
manually emitted its own error before (bogusly) returning Success to the
main loop. Since these tests only look at the return value of the
dispatch function we'd think things succeeded even when we'd generated
an error.

With that fixed, the test code's failure to swap the window id would
make dixLookupWindow (rightly) throw BadWindow.

Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
2016-08-17 11:04:13 -04: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 Use unique display name for each xi2 test program [v3] 2014-10-09 14:15:45 +02: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 Add request length checking test cases for some Xinput 2.x requests 2014-12-08 18:09:49 -08:00
protocol-xigetselectedevents.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
protocol-xipassivegrabdevice.c Add request length checking test cases for some Xinput 2.x requests 2014-12-08 18:09:49 -08:00
protocol-xiquerydevice.c test/xi2: Clean up -Wshadow warnings 2014-01-22 19:56:32 -08:00
protocol-xiquerypointer.c test: Remember to swap the window argument to XIQueryPointer 2016-08-17 11:04:13 -04: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 Add request length checking test cases for some Xinput 2.x requests 2014-12-08 18:09:49 -08:00
xi2.c dix: split xi2_mask_isset into a per-device function 2012-12-12 17:25:16 +10:00