From 118ef6f806f629a8e2ad61e4f2a43820b0fa621c Mon Sep 17 00:00:00 2001 From: Simon Thum Date: Sat, 5 Mar 2011 05:01:22 +0100 Subject: [PATCH] xf86: don't pretend to support DEVICE_ABS_* in ChangeDeviceControl Signed-off-by: Simon Thum Reviewed-by: Peter Hutterer Signed-off-by: Peter Hutterer --- hw/xfree86/common/xf86Xinput.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xfree86/common/xf86Xinput.c b/hw/xfree86/common/xf86Xinput.c index 2bac33a09..ae22ef268 100644 --- a/hw/xfree86/common/xf86Xinput.c +++ b/hw/xfree86/common/xf86Xinput.c @@ -405,10 +405,10 @@ ChangeDeviceControl (ClientPtr client, DeviceIntPtr dev, xDeviceCtl *control) if (!pInfo->control_proc) { switch (control->control) { case DEVICE_CORE: - return BadMatch; - case DEVICE_RESOLUTION: case DEVICE_ABS_CALIB: case DEVICE_ABS_AREA: + return BadMatch; + case DEVICE_RESOLUTION: case DEVICE_ENABLE: return Success; default: