From 5aaeea79eea98705fbbbea363a7ee4be1eeed827 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 8 Oct 2009 11:56:57 +1000 Subject: [PATCH] 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 Signed-off-by: Peter Hutterer --- src/synaptics.c | 2 -- 1 file changed, 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; }