kdrive: change DEVICE_TOUCHSCREEN to DEVICE_ABS_{CALIB,AREA}

This commit is contained in:
Daniel Stone 2006-10-22 12:30:02 +03:00 committed by Daniel Stone
parent 77e724585f
commit f08b6b2367

View File

@ -2316,11 +2316,9 @@ ChangeDeviceControl(register ClientPtr client, DeviceIntPtr pDev,
/* FIXME do something more intelligent here */
return BadMatch;
case DEVICE_TOUCHSCREEN:
if (!pDev->touchscreen)
return BadDevice;
else
return Success;
case DEVICE_ABS_CALIB:
case DEVICE_ABS_AREA:
return Success;
case DEVICE_CORE:
return Success;