diff options
author | Peter Hutterer <peter.hutterer@redhat.com> | 2008-09-18 15:58:46 +0930 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@redhat.com> | 2008-09-26 13:32:05 +0930 |
commit | 1e24e7b9df3d02350c7ea18e9379e87fe4d00026 (patch) | |
tree | 578a86f4eb88598fe246e909a6bb43ebc4667df2 /dix | |
parent | feaa5fa6712c8c6f4ca97766e2ac0338253cf3b8 (diff) |
Xi: remove configure/query device property calls.
This removes all the meta-information about device properties (pending,
fromClient, range, valid_values, immutable).
Diffstat (limited to 'dix')
-rw-r--r-- | dix/devices.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/dix/devices.c b/dix/devices.c index 4f216bddd..c0df6a297 100644 --- a/dix/devices.c +++ b/dix/devices.c @@ -205,7 +205,6 @@ AddInputDevice(ClientPtr client, DeviceProc deviceProc, Bool autoStart) /* device properties */ dev->properties.properties = NULL; - dev->properties.pendingProperties = FALSE; dev->properties.handlers = NULL; /* security creation/labeling check @@ -224,7 +223,7 @@ AddInputDevice(ClientPtr client, DeviceProc deviceProc, Bool autoStart) XIChangeDeviceProperty(dev, XIGetKnownProperty(XI_PROP_ENABLED), XA_INTEGER, 8, PropModeReplace, 1, &dev->enabled, - FALSE, FALSE, FALSE); + FALSE); XIRegisterPropertyHandler(dev, DeviceSetProperty, NULL); return dev; @@ -314,7 +313,7 @@ EnableDevice(DeviceIntPtr dev) XIChangeDeviceProperty(dev, XIGetKnownProperty(XI_PROP_ENABLED), XA_INTEGER, 8, PropModeReplace, 1, &dev->enabled, - TRUE, FALSE, FALSE); + TRUE); ev.type = DevicePresenceNotify; ev.time = currentTime.milliseconds; @@ -390,7 +389,7 @@ DisableDevice(DeviceIntPtr dev) XIChangeDeviceProperty(dev, XIGetKnownProperty(XI_PROP_ENABLED), XA_INTEGER, 8, PropModeReplace, 1, &dev->enabled, - TRUE, FALSE, FALSE); + TRUE); ev.type = DevicePresenceNotify; ev.time = currentTime.milliseconds; |