From 9eaecb1bfe358a0c5f24645a29d6c377c0c4b37c Mon Sep 17 00:00:00 2001 From: Simon Thum Date: Sun, 20 Mar 2011 16:28:22 +0100 Subject: xquartz: simplify ChangeDeviceControl Signed-off-by: Simon Thum Reviewed-by: Peter Hutterer Signed-off-by: Peter Hutterer --- hw/xquartz/darwinXinput.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/hw/xquartz/darwinXinput.c b/hw/xquartz/darwinXinput.c index 8bb83ca37..3ef34fec0 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; } -- cgit v1.2.3