[PATCH libinput 09/14] test: rearrange fingers for gesture tests

Peter Hutterer peter.hutterer at who-t.net
Thu Jan 7 20:11:13 PST 2016


Prep work for the coming patch, arrange the fingers horizontally rather than
vertically.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 test/gestures.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/test/gestures.c b/test/gestures.c
index eb2ad81..c21a411 100644
--- a/test/gestures.c
+++ b/test/gestures.c
@@ -82,13 +82,13 @@ START_TEST(gestures_swipe_3fg)
 	litest_drain_events(li);
 
 	litest_touch_down(dev, 0, 40, 40);
-	litest_touch_down(dev, 1, 40, 50);
-	litest_touch_down(dev, 2, 40, 60);
+	litest_touch_down(dev, 1, 50, 40);
+	litest_touch_down(dev, 2, 60, 40);
 	libinput_dispatch(li);
 	litest_touch_move_three_touches(dev,
 					40, 40,
-					40, 50,
-					40, 60,
+					50, 40,
+					60, 40,
 					dir_x, dir_y,
 					10, 2);
 	libinput_dispatch(li);
@@ -369,13 +369,13 @@ START_TEST(gestures_time_usec)
 	litest_drain_events(li);
 
 	litest_touch_down(dev, 0, 40, 40);
-	litest_touch_down(dev, 1, 40, 50);
-	litest_touch_down(dev, 2, 40, 60);
+	litest_touch_down(dev, 1, 50, 40);
+	litest_touch_down(dev, 2, 60, 40);
 	libinput_dispatch(li);
 	litest_touch_move_three_touches(dev,
 					40, 40,
-					40, 50,
-					40, 60,
+					50, 40,
+					60, 40,
 					0, 30,
 					4, 2);
 
-- 
2.5.0



More information about the wayland-devel mailing list