Revert "Check for XINPUT ABI, parameters of InitValuatorClassRec have changed."

GetMotionEvents() doesn't exist, led to compile errors with servers pre-MPX
merge. Thanks to Sven Wegener for pointing this out.

This reverts commit 42422d8f69.
This commit is contained in:
Peter Hutterer
2008-06-08 00:09:40 +09:30
parent 42422d8f69
commit d40125ea8c

View File

@@ -726,10 +726,7 @@ EvdevAddAbsClass(DeviceIntPtr device)
pEvdev->min_y = absinfo_y.minimum;
pEvdev->max_y = absinfo_y.maximum;
if (!InitValuatorClassDeviceStruct(device, 2,
#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3
GetMotionEvents(),
#endif
if (!InitValuatorClassDeviceStruct(device, 2, GetMotionHistory,
GetMotionHistorySize(), Absolute))
return !Success;
@@ -759,10 +756,7 @@ EvdevAddRelClass(DeviceIntPtr device)
pInfo = device->public.devicePrivate;
if (!InitValuatorClassDeviceStruct(device, 2,
#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3
GetMotionEvents(),
#endif
if (!InitValuatorClassDeviceStruct(device, 2, GetMotionHistory,
GetMotionHistorySize(), Relative))
return !Success;