From 102cdf8a97ca258fe540469808f3139c699526d9 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 files changed, 0 insertions(+), 2 deletions(-) diff --git a/src/synaptics.c b/src/synaptics.c index 597aad2..6384534 100644 --- a/src/synaptics.c +++ b/src/synaptics.c @@ -1274,8 +1274,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; } -- 1.6.3.rc1.2.g0164.dirty