xserver-multidpi/test/xi2
Peter Hutterer ea51e9b287 Xi: return BadValue on XIQueryVersion if the version is less than first call
Clients that use plugin systems may require multiple calls to
XIQueryVersion from different plugins. The current error handling requires
client-side synchronisation of version numbers.

The first call to XIQueryVersion defines the server behaviour. Once cached,
always return that version number to any clients. Unless a client requests a
version lower than the first defined one, then a BadValue must be returned
to be protocol-compatible.

Introduced in 2c23ef83b0

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2012-05-01 11:36:30 +10:00
..
.gitignore test: add new test cases to .gitignore 2012-03-04 20:01:29 -08:00
Makefile.am Add a new XI2Mask struct and a few helper functions. 2011-12-09 14:56:23 +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 Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
protocol-eventconvert.c Introduce a consistent coding style 2012-03-21 13:54:42 -07: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 Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
protocol-xiquerydevice.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
protocol-xiquerypointer.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
protocol-xiqueryversion.c Xi: return BadValue on XIQueryVersion if the version is less than first call 2012-05-01 11:36:30 +10:00
protocol-xiselectevents.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
protocol-xisetclientpointer.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
protocol-xiwarppointer.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xi2.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00