mirror of
https://github.com/X11Libre/xf86-input-synaptics.git
synced 2026-03-24 01:34:04 +00:00
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>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user