mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-30 15:30:08 +01:00
Input: Allow enabling and disabling of devices
Add DEVICE_ENABLE to KDrive and XFree86 to allow us to enable and disable devices on the fly.
This commit is contained in:
parent
0afeb0241a
commit
7c9e8fd56e
2 changed files with 2 additions and 0 deletions
|
|
@ -2294,6 +2294,7 @@ ChangeDeviceControl(register ClientPtr client, DeviceIntPtr pDev,
|
|||
return Success;
|
||||
|
||||
case DEVICE_CORE:
|
||||
case DEVICE_ENABLE:
|
||||
return Success;
|
||||
|
||||
default:
|
||||
|
|
|
|||
|
|
@ -297,6 +297,7 @@ ChangeDeviceControl (ClientPtr client, DeviceIntPtr dev, xDeviceCtl *control)
|
|||
case DEVICE_RESOLUTION:
|
||||
case DEVICE_ABS_CALIB:
|
||||
case DEVICE_ABS_AREA:
|
||||
case DEVICE_ENABLE:
|
||||
return Success;
|
||||
default:
|
||||
return BadMatch;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue