Signed-off-by: Peter Hutterer <[email protected]>
---
 src/xf86PM.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/xf86PM.c b/src/xf86PM.c
index 7b8c3f0..b5b2e70 100644
--- a/src/xf86PM.c
+++ b/src/xf86PM.c
@@ -148,7 +148,7 @@ ProcessDeviceInit(PenMountPrivatePtr priv, DeviceIntPtr 
dev, InputInfoPtr pInfo)
         * Axes min and max values are reported in raw coordinates.
         */
        if (InitValuatorClassDeviceStruct (dev, 2, axis_labels,
-                                          pInfo->history_size, Absolute) == 
FALSE)
+                                          GetMotionHistorySize(), Absolute) == 
FALSE)
                {
                        ErrorF ("Unable to allocate PenMount 
ValuatorClassDeviceStruct\n");
                        return !Success;
-- 
1.7.3.2

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to