mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 01:48:02 +02:00
simplify ChangeDeviceControl in stubs
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
118ef6f806
commit
2103d61909
1 changed files with 1 additions and 11 deletions
12
Xi/stubs.c
12
Xi/stubs.c
|
|
@ -115,17 +115,7 @@ int
|
|||
ChangeDeviceControl(ClientPtr client, DeviceIntPtr dev,
|
||||
xDeviceCtl * control)
|
||||
{
|
||||
switch (control->control) {
|
||||
case DEVICE_RESOLUTION:
|
||||
return BadMatch;
|
||||
case DEVICE_ABS_CALIB:
|
||||
case DEVICE_ABS_AREA:
|
||||
return BadMatch;
|
||||
case DEVICE_CORE:
|
||||
return BadMatch;
|
||||
default:
|
||||
return BadMatch;
|
||||
}
|
||||
return BadMatch;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue