summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xf86HyperPen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xf86HyperPen.c b/src/xf86HyperPen.c
index 30c3f72..b132b65 100644
--- a/src/xf86HyperPen.c
+++ b/src/xf86HyperPen.c
@@ -720,7 +720,7 @@ xf86HypProc(DeviceIntPtr pHyp, int what)
if (InitValuatorClassDeviceStruct(pHyp,
nbaxes,
axis_labels,
- pInfo->history_size,
+ GetMotionHistorySize(),
(priv->flags & ABSOLUTE_FLAG)? Absolute: Relative)
== FALSE) {
ErrorF("unable to allocate Valuator class device\n");