diff options
Diffstat (limited to 'src/evdev.c')
-rw-r--r-- | src/evdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev.c b/src/evdev.c index 8108969..366de37 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -1196,7 +1196,7 @@ EvdevAddAbsValuatorClass(DeviceIntPtr device) EvdevInitAxesLabels(pEvdev, pEvdev->num_vals + num_mt_axes, atoms); - if (!InitValuatorClassDeviceStruct(device, num_axes, atoms, + if (!InitValuatorClassDeviceStruct(device, num_axes + num_mt_axes, atoms, GetMotionHistorySize(), Absolute)) { xf86IDrvMsg(pInfo, X_ERROR, "failed to initialize valuator class device.\n"); goto out; |