Peter Hutterer
dce40e2266
Xi: always return BadMatch for XTest devices ChangeDeviceControl requests
...
The only controls that still do something are DEVICE_RESOLUTION and
DEVICE_ENABLE.
XTest devices have no resolution to change, and they cannot be disabled. So
skip the lot, and prevent a crash in the DDX when it's trying to
de-reference pInfo->control_proc on device with no pInfo struct.
Likewise, don't allow setting device mode or the valuators.
XTest pointers are always relative, they don't have a mode.
Test cases:
xts5/XI/ChangeDeviceControl (1/10)
xts5/XI/SetDeviceValuators (1/6)
and a few others
Reported-by: Knut Petersen <Knut_Petersen@t-online.de >
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
Reviewed-by: Keith Packard <keithp@keithp.com >
2013-05-07 09:40:44 +10:00
..
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2013-05-07 09:40:44 +10:00
2012-03-21 13:54:42 -07:00
2012-03-21 14:02:30 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 14:02:30 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 14:02:30 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-05-14 13:17:30 +01:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2013-04-15 13:30:58 +10:00
2012-03-21 13:54:42 -07:00
2013-05-07 09:40:39 +10:00
2012-03-21 13:54:42 -07:00
2013-04-11 10:17:18 +10:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 22:52:30 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 22:52:30 -07:00
2012-03-21 13:54:42 -07:00
2012-12-05 18:09:48 -06:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-12-17 15:01:22 +10:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 14:02:30 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2013-05-07 09:40:44 +10:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2013-05-07 09:40:44 +10:00
2012-03-21 13:54:42 -07:00
2012-05-24 14:57:11 +10:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2013-03-04 21:10:22 -08:00
2012-12-18 08:28:02 +10:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-12-19 12:22:03 -08:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2013-04-15 10:21:48 +10:00
2012-03-21 13:54:42 -07:00
2012-11-19 12:12:48 +10:00
2012-03-21 13:54:42 -07:00
2012-10-30 15:11:10 +10:00
2012-03-21 13:54:42 -07:00
2012-12-05 18:09:48 -06:00
2012-03-21 13:54:42 -07:00
2012-11-19 12:12:23 +10:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-12-12 17:25:16 +10:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00