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

diff --git a/src/xf86Fpit.c b/src/xf86Fpit.c
index cdcf8a8..c5e9d71 100644
--- a/src/xf86Fpit.c
+++ b/src/xf86Fpit.c
@@ -437,7 +437,7 @@ static Bool xf86FpitControl(DeviceIntPtr dev, int mode)
                        }
 
                        if (InitValuatorClassDeviceStruct(dev, 2, axis_labels,
-                                                          pInfo->history_size, 
Absolute) == FALSE) {
+                                                          
GetMotionHistorySize(), Absolute) == FALSE) {
                                ErrorF("Unable to allocate Fpit touchscreen 
ValuatorClassDeviceStruct\n");
                                return !Success;
                        }
@@ -545,7 +545,6 @@ static InputInfoPtr xf86FpitAllocate(InputDriverPtr drv)
        pInfo->dev = NULL;
        pInfo->private = priv;
        pInfo->type_name = "Fujitsu Stylistic";
-       pInfo->history_size = 0;
        return pInfo;
 }
 
-- 
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