From bf5f2cf9420948415dcf6b62fa940a6de6e7b9a9 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 17 Nov 2010 09:03:49 +1000 Subject: Use GetMotionHistorySize() instead of the history size in the InputInfoRec. The latter is gone with ABI 12. Signed-off-by: Peter Hutterer --- src/xf86HyperPen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.3