On Thu, Aug 25, 2011 at 09:48:52PM +0600, Alexandr Shadchin wrote: > Signed-off-by: Alexandr Shadchin <[email protected]> > --- > src/synaptics.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/synaptics.c b/src/synaptics.c > index 3c08b18..6918330 100644 > --- a/src/synaptics.c > +++ b/src/synaptics.c > @@ -246,7 +246,7 @@ SanitizeDimensions(InputInfoPtr pInfo) > if (priv->minp >= priv->maxp) > { > priv->minp = 0; > - priv->maxp = 256; > + priv->maxp = 255; > > xf86IDrvMsg(pInfo, X_PROBED, > "invalid pressure range. defaulting to %d - %d\n", > @@ -256,7 +256,7 @@ SanitizeDimensions(InputInfoPtr pInfo) > if (priv->minw >= priv->maxw) > { > priv->minw = 0; > - priv->maxw = 16; > + priv->maxw = 15; > > xf86IDrvMsg(pInfo, X_PROBED, > "invalid finger width range. defaulting to %d - %d\n", > -- > 1.7.6
refresh my memory: why maxw = 15? maxp I understand but I don't know where this limitation to 15/16 comes from. Cheers, Peter _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
