[PATCH penmount 07/10] Drop driver-specific motion history size handling.

Peter Hutterer peter.hutterer at who-t.net
Wed Dec 1 20:37:54 PST 2010


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 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



More information about the xorg-devel mailing list