From: Peter Hutterer Date: Thu, 20 Jun 2019 03:36:57 +0000 (+1000) Subject: test: move the fingers closer together for the empty-slot test X-Git-Tag: 1.13.901~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=160d3f2b66c093662fc0139ccfdfc200242b394d;p=platform%2Fupstream%2Flibinput.git test: move the fingers closer together for the empty-slot test If we're testing for this, let's not try to get it picked up as pinch gestures. Only an issue on the wacom and magic trackpads because of their physical size. Signed-off-by: Peter Hutterer --- diff --git a/test/test-touchpad.c b/test/test-touchpad.c index 1be38a8..d6f3533 100644 --- a/test/test-touchpad.c +++ b/test/test-touchpad.c @@ -5130,11 +5130,11 @@ START_TEST(touchpad_thumb_speed_empty_slots) /* scroll in slots 1 and 2, despite another finger down this is a * 2fg gesture */ litest_touch_down(dev, 1, 50, 50); - litest_touch_down(dev, 2, 90, 50); + litest_touch_down(dev, 2, 55, 50); libinput_dispatch(li); for (int i = 0, y = 50; i < 10; i++, y++) { litest_touch_move_to(dev, 1, 50, y, 50, y + 1, 1); - litest_touch_move_to(dev, 2, 50, y, 50, y + 1, 1); + litest_touch_move_to(dev, 2, 55, y, 50, y + 1, 1); } libinput_dispatch(li); litest_touch_up(dev, 1);