summaryrefslogtreecommitdiff
path: root/Xi/stubs.c
diff options
context:
space:
mode:
authorSimon Thum <simon.thum@gmx.de>2011-03-05 05:02:54 +0100
committerPeter Hutterer <peter.hutterer@who-t.net>2011-03-24 09:52:48 +1000
commit2103d61909c7e6bd345622962df7784a19df72c5 (patch)
treed6d8721b965753ec1445705496d77e8db67a2f0e /Xi/stubs.c
parent118ef6f806f629a8e2ad61e4f2a43820b0fa621c (diff)
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>
Diffstat (limited to 'Xi/stubs.c')
-rw-r--r--Xi/stubs.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/Xi/stubs.c b/Xi/stubs.c
index d9e8eec72..6a4c18158 100644
--- a/Xi/stubs.c
+++ b/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;
}