https://bugs.freedesktop.org/show_bug.cgi?id=106365

Peter Hutterer <peter.hutte...@who-t.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |peter.hutte...@who-t.net

--- Comment #3 from Peter Hutterer <peter.hutte...@who-t.net> ---
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)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to