aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-07-21 14:38:12 -0400
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-07-21 14:38:12 -0400
commite4681504487151553894ae0d513b9e833d2597d1 (patch)
tree49a0b93b3cb0cb3c95ae2b4d902a6d3138183850
parentpass maxval correctly to xf86InitValuatorAxisDeviceStruct (diff)
downloadxf86-input-evdev-e4681504487151553894ae0d513b9e833d2597d1.tar.gz
xf86-input-evdev-e4681504487151553894ae0d513b9e833d2597d1.tar.bz2
xf86-input-evdev-e4681504487151553894ae0d513b9e833d2597d1.zip
fix InitValuatorClassDeviceStruct call
I don't know how the last parameter got there. Sorry.
-rw-r--r--src/evdev_axes.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/evdev_axes.c b/src/evdev_axes.c
index b2b18e1..4650b5f 100644
--- a/src/evdev_axes.c
+++ b/src/evdev_axes.c
@@ -525,8 +525,7 @@ EvdevAxesInit (DeviceIntPtr device)
if (!InitValuatorClassDeviceStruct(device, axes,
miPointerGetMotionEvents,
- miPointerGetMotionBufferSize(), 0,
- axes))
+ miPointerGetMotionBufferSize(), 0))
return !Success;
for (i = 0; i < axes; i++) {