mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-27 17:20:06 +01:00
touchpad: only try to detect touchpad wobbling with one finger down
https://bugs.freedesktop.org/show_bug.cgi?id=106365 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
5427d5ed87
commit
3d81f1179f
1 changed files with 4 additions and 0 deletions
|
|
@ -155,6 +155,10 @@ tp_detect_wobbling(struct tp_dispatch *tp,
|
|||
int dx, dy;
|
||||
uint64_t dtime;
|
||||
|
||||
if (tp->nfingers_down != 1 ||
|
||||
tp->nfingers_down != tp->old_nfingers_down)
|
||||
return;
|
||||
|
||||
if (tp->hysteresis.enabled)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue