diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-07-19 19:43:08 -0400 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2006-07-19 19:43:08 -0400 |
commit | 7defeb0aefb216d203b495a53a6d1d505f7dece4 (patch) | |
tree | 214678bdc36a1a696bca3daf04b3469f747e453e /src/evdev_axes.c | |
parent | prune device list on DEVICE_CLOSE (diff) | |
download | xf86-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.
Diffstat (limited to 'src/evdev_axes.c')
-rw-r--r-- | src/evdev_axes.c | 3 |
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++) { |