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,10 +2316,8 @@ ChangeDeviceControl(register ClientPtr client, DeviceIntPtr pDev,
/* FIXME do something more intelligent here */ /* FIXME do something more intelligent here */
return BadMatch; return BadMatch;
case DEVICE_TOUCHSCREEN: case DEVICE_ABS_CALIB:
if (!pDev->touchscreen) case DEVICE_ABS_AREA:
return BadDevice;
else
return Success; return Success;
case DEVICE_CORE: case DEVICE_CORE: