[PATCH] fpit: minX/ maxX get wrongly initialized

philip feucht at uni-koblenz.de
Wed May 19 03:37:05 PDT 2010


maxX/ minX get values from maxY/ minY

Signed-off-by: philip <feucht at uni-koblenz.de>
---
 src/xf86Fpit.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/xf86Fpit.c b/src/xf86Fpit.c
index ce7540b..4c09c96 100644
--- a/src/xf86Fpit.c
+++ b/src/xf86Fpit.c
@@ -232,7 +232,7 @@ static void xf86FpitSetUpAxes(DeviceIntPtr dev, FpitPrivatePtr priv)
 #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7
 				       axis_labels[0],
 #endif
-				       priv->fpitMinY, priv->fpitMaxY, 9500, 0 /* min_res */ ,
+				       priv->fpitMinX, priv->fpitMaxX, 9500, 0 /* min_res */ ,
 				       9500 /* max_res */ );
 		InitValuatorAxisStruct(dev, 1,
 #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7
-- 
1.7.0.4


--Multipart=_Wed__19_May_2010_12_56_59_+0200_sx5HEKtmbTrbgn9B--


More information about the xorg-devel mailing list