summaryrefslogtreecommitdiff
path: root/src/xf86HyperPen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xf86HyperPen.c')
-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");