xquartz: simplify ChangeDeviceControl
Signed-off-by: Simon Thum <simon.thum@gmx.de> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
33e257ab43
commit
9eaecb1bfe
@ -117,17 +117,7 @@ ChangeDeviceControl(ClientPtr client, DeviceIntPtr dev,
|
|||||||
{
|
{
|
||||||
|
|
||||||
DEBUG_LOG("ChangeDeviceControl(%p, %p, %p)\n", client, dev, control);
|
DEBUG_LOG("ChangeDeviceControl(%p, %p, %p)\n", client, dev, control);
|
||||||
switch (control->control) {
|
return BadMatch;
|
||||||
case DEVICE_RESOLUTION:
|
|
||||||
return BadMatch;
|
|
||||||
case DEVICE_ABS_CALIB:
|
|
||||||
case DEVICE_ABS_AREA:
|
|
||||||
return BadMatch;
|
|
||||||
case DEVICE_CORE:
|
|
||||||
return BadMatch;
|
|
||||||
default:
|
|
||||||
return BadMatch;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user