patch for xorg-xinput-fpit

Peter Hutterer peter.hutterer at who-t.net
Tue May 18 04:10:00 PDT 2010


On Tue, May 18, 2010 at 09:43:36AM +0200, Philip wrote:
> 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

thanks, looks good. Please have a look at
http://wiki.x.org/wiki/Development/Documentation/SubmittingPatches though
and re-send this as a patch generated by git-format patch (signed off). I'll
push it asap then.

Cheers,
  Peter



More information about the xorg mailing list