aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-07-19 19:43:08 -0400
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-07-19 19:43:08 -0400
commit7defeb0aefb216d203b495a53a6d1d505f7dece4 (patch)
tree214678bdc36a1a696bca3daf04b3469f747e453e
parentprune device list on DEVICE_CLOSE (diff)
downloadxf86-input-evdev-7defeb0aefb216d203b495a53a6d1d505f7dece4.tar.gz
xf86-input-evdev-7defeb0aefb216d203b495a53a6d1d505f7dece4.tar.bz2
xf86-input-evdev-7defeb0aefb216d203b495a53a6d1d505f7dece4.zip
pass number of axes to InitValuatorClassDeviceStruct
This is now required with the input-hotplug server.
-rw-r--r--src/evdev_axes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/evdev_axes.c b/src/evdev_axes.c
index 0d9b5a7..c5eda70 100644
--- a/src/evdev_axes.c
+++ b/src/evdev_axes.c
@@ -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++) {