mirror of
https://github.com/X11Libre/xf86-input-evdev.git
synced 2026-04-14 11:44:16 +00:00
pass number of axes to InitValuatorClassDeviceStruct
This is now required with the input-hotplug server.
This commit is contained in:
committed by
Daniel Stone
parent
1cb568c0a6
commit
7defeb0aef
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user