<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - False positives with wobble detection"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106365#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - False positives with wobble detection"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106365">bug 106365</a>
from <span class="vcard"><a class="email" href="mailto:Hi-Angel@yandex.ru" title="Hi-Angel <Hi-Angel@yandex.ru>"> <span class="fn">Hi-Angel</span></a>
</span></b>
<pre>(In reply to Peter Hutterer from <a href="show_bug.cgi?id=106365#c3">comment #3</a>)
<span class="quote">> embarassing... issue is that I had the logic inverted (from an earlier
> version). This one makes it work:
>
>
> diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
> index 6560ac3e..ce694c28 100644
> --- a/src/evdev-mt-touchpad.c
> +++ b/src/evdev-mt-touchpad.c
> @@ -155,8 +155,8 @@ 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)
> + if (tp->nfingers_down != 1 ||
> + tp->nfingers_down != tp->old_nfingers_down)
> return;
>
> if (tp->hysteresis.enabled)</span >
Don't be sad! Thank you, works for me.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>