From 7defeb0aefb216d203b495a53a6d1d505f7dece4 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Wed, 19 Jul 2006 19:43:08 -0400 Subject: [PATCH] pass number of axes to InitValuatorClassDeviceStruct This is now required with the input-hotplug server. --- src/evdev_axes.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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++) {