[PATCH 1/6] xquartz: simplify ChangeDeviceControl
Simon Thum
simon.thum at gmx.de
Sun Mar 20 08:28:22 PDT 2011
Signed-off-by: Simon Thum <simon.thum at gmx.de>
---
hw/xquartz/darwinXinput.c | 12 +-----------
1 files changed, 1 insertions(+), 11 deletions(-)
diff --git a/hw/xquartz/darwinXinput.c b/hw/xquartz/darwinXinput.c
index 8bb83ca..3ef34fe 100644
--- a/hw/xquartz/darwinXinput.c
+++ b/hw/xquartz/darwinXinput.c
@@ -117,17 +117,7 @@ ChangeDeviceControl(ClientPtr client, DeviceIntPtr dev,
{
DEBUG_LOG("ChangeDeviceControl(%p, %p, %p)\n", client, dev, 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;
}
--
1.7.3.4
More information about the xorg-devel
mailing list