pass number of axes to InitValuatorClassDeviceStruct

This is now required with the input-hotplug server.
This commit is contained in:
Daniel Stone
2006-07-19 19:43:08 -04:00
committed by Daniel Stone
parent 1cb568c0a6
commit 7defeb0aef

View File

@@ -525,7 +525,8 @@ EvdevAxesInit (DeviceIntPtr device)
if (!InitValuatorClassDeviceStruct(device, axes,
miPointerGetMotionEvents,
miPointerGetMotionBufferSize(), 0))
miPointerGetMotionBufferSize(), 0,
axes))
return !Success;
for (i = 0; i < axes; i++) {