test: fix button area scroll test to not be a pinch
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 20 Jun 2019 03:38:47 +0000 (13:38 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 20 Jun 2019 22:16:15 +0000 (22:16 +0000)
Second finger's x coordinate was wrong. That we didn't pick this up as pinch
is quite telling too.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/test-touchpad.c

index d6f3533..96281ea 100644 (file)
@@ -552,7 +552,7 @@ START_TEST(touchpad_2fg_scroll_from_btnareas)
 
        for (int i = 0; i < 20; i++) {
                litest_touch_move(dev, 0, 30, 90 - i);
-               litest_touch_move(dev, 1, 30, 95 - i);
+               litest_touch_move(dev, 1, 50, 95 - i);
        }
        libinput_dispatch(li);