[PATCH] fix wrong finger width range

Peter Hutterer peter.hutterer at who-t.net
Mon Jan 2 15:01:14 PST 2012


On Wed, Dec 28, 2011 at 02:46:02PM +0800, JJ Ding wrote:
> From: JJ Ding <dgdunix at gmail.com>
> 
> Signed-off-by: JJ Ding <dgdunix at gmail.com>
> ---
> Hi list,
> 
> trivial fix, patch is against current master HEAD.
> Thanks.
> 
> jj

pushed, thanks. 
    9f9b55a..3ec9321  master -> master

Cheers,
  Peter


> 
>  src/eventcomm.c |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
> 
> diff --git a/src/eventcomm.c b/src/eventcomm.c
> index 40e9bdf..00dc532 100644
> --- a/src/eventcomm.c
> +++ b/src/eventcomm.c
> @@ -253,7 +253,6 @@ static void
>  event_query_axis_ranges(InputInfoPtr pInfo)
>  {
>      SynapticsPrivate *priv = (SynapticsPrivate *)pInfo->private;
> -    struct input_absinfo abs = {0};
>      unsigned long absbits[NBITS(ABS_MAX)] = {0};
>      unsigned long keybits[NBITS(KEY_MAX)] = {0};
>      char buf[256] = {0};
> @@ -316,7 +315,7 @@ event_query_axis_ranges(InputInfoPtr pInfo)
>  		    "device does not report pressure, will use touch data.\n");
>      if (priv->has_width)
>  	xf86IDrvMsg(pInfo, X_PROBED, "finger width range %d - %d\n",
> -		    abs.minimum, abs.maximum);
> +		    priv->minw, priv->maxw);
>      else
>  	xf86IDrvMsg(pInfo, X_INFO,
>  		    "device does not report finger width.\n");
> -- 
> 1.7.8
> 


More information about the xorg-devel mailing list