summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-10-08 11:56:57 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-02-17 11:00:53 +1000
commit5aaeea79eea98705fbbbea363a7ee4be1eeed827 (patch)
tree5984b376967417a2f3a928e58339b97aa1f682b1
parentf34ee8e8ac68c3fdff38d084f175106a3415f3a5 (diff)
Don't expect a palm based on pressure (#22806)
If the first touch on the touchpad is above palm_min_z, the palm detection unsets the finger status ("probably palm"). Don't do that, for low values of palm_min_z this disables the finger during normal use of the touchpad. X.Org Bug 22806 <http://bugs.freedesktop.org/show_bug.cgi?id=22806> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/synaptics.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/synaptics.c b/src/synaptics.c
index 783bd64..03092f2 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -1396,8 +1396,6 @@ SynapticsDetectFinger(SynapticsPrivate *priv, struct SynapticsHwState *hw)
finger = FS_UNTOUCHED;
else if (hw->z < priv->prev_z - 5) /* z not stable, may be a palm */
finger = FS_UNTOUCHED;
- else if (hw->z > para->palm_min_z) /* z too large -> probably palm */
- finger = FS_UNTOUCHED;
else if (hw->fingerWidth > para->palm_min_width) /* finger width too large -> probably palm */
finger = FS_UNTOUCHED;
}