summaryrefslogtreecommitdiff
path: root/dix/devices.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-07 16:52:31 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-08 14:33:44 +1000
commitbae070914fc27db122e6131ae4838559c4a72f65 (patch)
tree7e92d1103a2013b3b70fb6c4e916a6010fdc44d5 /dix/devices.c
parent83f32d3972b8bfb0a87069dfb3fcd64b6b7c6424 (diff)
input: update to inputproto 1.9.99.8 XI2 defines.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dix/devices.c')
-rw-r--r--dix/devices.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/dix/devices.c b/dix/devices.c
index f7e32feb9..83285b4d1 100644
--- a/dix/devices.c
+++ b/dix/devices.c
@@ -267,7 +267,7 @@ SendDevicePresenceEvent(int deviceid, int type)
ev.time = currentTime.milliseconds;
ev.devchange = type;
ev.deviceid = deviceid;
- dummyDev.id = AllDevices;
+ dummyDev.id = XIAllDevices;
SendEventToAllWindows(&dummyDev, DevicePresenceNotifyMask,
(xEvent*)&ev, 1);
}
@@ -359,7 +359,7 @@ EnableDevice(DeviceIntPtr dev)
TRUE);
SendDevicePresenceEvent(dev->id, DeviceEnabled);
- XISendDeviceHierarchyEvent(HF_DeviceEnabled);
+ XISendDeviceHierarchyEvent(XIDeviceEnabled);
return TRUE;
}
@@ -430,7 +430,7 @@ DisableDevice(DeviceIntPtr dev)
TRUE);
SendDevicePresenceEvent(dev->id, DeviceDisabled);
- XISendDeviceHierarchyEvent(HF_DeviceDisabled);
+ XISendDeviceHierarchyEvent(XIDeviceDisabled);
return TRUE;
}
@@ -462,7 +462,7 @@ ActivateDevice(DeviceIntPtr dev)
pScreen->DeviceCursorInitialize(dev, pScreen);
SendDevicePresenceEvent(dev->id, DeviceAdded);
- XISendDeviceHierarchyEvent(HF_SlaveAdded);
+ XISendDeviceHierarchyEvent(XISlaveAdded);
return ret;
}
@@ -977,7 +977,7 @@ RemoveDevice(DeviceIntPtr dev)
if (ret == Success && initialized) {
inputInfo.numDevices--;
SendDevicePresenceEvent(deviceid, DeviceRemoved);
- XISendDeviceHierarchyEvent(HF_SlaveRemoved);
+ XISendDeviceHierarchyEvent(XISlaveRemoved);
}
return ret;