Signed-off-by: Alexandr Shadchin <alexandr.shadc...@gmail.com> --- 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 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel