patch for xorg-xinput-fpit
Philip
feucht at uni-koblenz.de
Tue May 18 00:43:36 PDT 2010
Hi, i ran into a wired behavior with xorg-xinput-fpit.
system compaq tc1000, ubuntu 10.04
seem that maxY ist assigned to maxX. see pastebin:
http://pastebin.com/pZC3c16Q
thanks,
philip
created a diff to correct the problem:
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,
FpitPrivateP
#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7
axis_labels[0],
#endif
- priv->fpitMinY, priv->fpitMaxY,
9500, 0 /
+ priv->fpitMinX, priv->fpitMaxX,
9500, 0 /
9500 /* max_res */ );
InitValuatorAxisStruct(dev, 1,
#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7
--
ICQ# 609508529, IRC: philipf at chat.freenode.net
More information about the xorg
mailing list