diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-02-25 15:53:29 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-11 14:26:04 +1000 |
commit | 6be974ec5597ef37fbd3a6057d52a38356f544e0 (patch) | |
tree | 5db0f6322dde1b6f9bc7e4f806b8f89c1a8ec33d /src/XExtInt.c | |
parent | 60b2d114d06617ca60c2905373829299dc051c7f (diff) |
Fix the already existing XI2 calls to the new XI2 protocol. FIXME
FIXME: not bisectable due to XiSelectInput.
This includes namespacing them with an XI2 prefix.
Affected calls:
XIGetClientPointer
XISetClientPointer
XIDefineDeviceCursor
XIUndefineDeviceCursor
XIWarpDevicePointer
XIQueryDevicePointer
XIChangeDeviceHierarchy (+ event)
Diffstat (limited to 'src/XExtInt.c')
-rw-r--r-- | src/XExtInt.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/XExtInt.c b/src/XExtInt.c index bbc8a9b..4e24216 100644 --- a/src/XExtInt.c +++ b/src/XExtInt.c @@ -773,12 +773,12 @@ XInputWireToEvent( { switch(ge->evtype) { - case XI_DeviceHierarchyChangedNotify: + case XI_HierarchyChangedNotify: { XDeviceHierarchyChangedEvent* dhc_event = (XDeviceHierarchyChangedEvent*)save; - deviceHierarchyChangedEvent* dhc_wire = - (deviceHierarchyChangedEvent*)event; + XIDeviceHierarchyEvent* dhc_wire = + (XIDeviceHierarchyEvent*)event; dhc_event->extension = dhc_wire->extension; dhc_event->evtype = dhc_wire->evtype; @@ -786,12 +786,12 @@ XInputWireToEvent( *re = *save; return ENQUEUE_EVENT; } - case XI_DeviceClassesChangedNotify: + case XI_ClassesChangedNotify: { XDeviceClassesChangedEvent* dcc_event = (XDeviceClassesChangedEvent*)save; - deviceClassesChangedEvent* dcc_wire = - (deviceClassesChangedEvent*)event; + XIDeviceChangedEvent* dcc_wire = + (XIDeviceChangedEvent*)event; int size; XAnyClassPtr Any; xAnyClassPtr any; |