summaryrefslogtreecommitdiff
path: root/test/touchpad.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-01-25 15:29:11 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2016-01-25 15:29:11 +1000
commitde3f1fa6fa23cebef17640dc1eb4ea8df270ecd9 (patch)
tree0eb7ae087e9dd10fc2b962a8879d6906773a674a /test/touchpad.c
parent6920a42fd4ec8dfa633ef5bc1865f994afc63693 (diff)
parentb6f59d0e3b2e38abd0c79e36a5971dc7ea1e2b16 (diff)
downloadlibinput-tablet-support.tar.gz
Merge branch 'master' into tablet-supporttablet-support
Diffstat (limited to 'test/touchpad.c')
-rw-r--r--test/touchpad.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/touchpad.c b/test/touchpad.c
index 4eb94187..c1765493 100644
--- a/test/touchpad.c
+++ b/test/touchpad.c
@@ -289,11 +289,11 @@ START_TEST(touchpad_2fg_scroll_semi_mt)
litest_touch_down(dev, 0, 20, 20);
litest_touch_down(dev, 1, 30, 20);
libinput_dispatch(li);
- litest_touch_move_to(dev, 1, 30, 20, 30, 70, 10, 5);
-
- litest_assert_empty_queue(li);
-
- litest_touch_move_to(dev, 0, 20, 20, 20, 70, 10, 5);
+ litest_touch_move_two_touches(dev,
+ 20, 20,
+ 30, 20,
+ 30, 40,
+ 10, 1);
litest_assert_only_typed_events(li, LIBINPUT_EVENT_POINTER_AXIS);
}