diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-11-17 09:03:49 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-11-17 09:42:44 +1000 |
commit | bf5f2cf9420948415dcf6b62fa940a6de6e7b9a9 (patch) | |
tree | be9b0450cc28bbad2fe0afc07809012ccb2b6347 | |
parent | 56b2d4d0329479898a472644d39034c2f47095b1 (diff) |
Use GetMotionHistorySize() instead of the history size in the InputInfoRec.
The latter is gone with ABI 12.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/xf86HyperPen.c | 2 |
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"); |