summaryrefslogtreecommitdiff
path: root/test/test-touchpad.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-touchpad.c')
-rw-r--r--test/test-touchpad.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/test/test-touchpad.c b/test/test-touchpad.c
index d72ae0fa..2e057898 100644
--- a/test/test-touchpad.c
+++ b/test/test-touchpad.c
@@ -801,7 +801,7 @@ START_TEST(touchpad_edge_scroll_horiz_clickpad)
litest_enable_edge_scroll(dev);
litest_touch_down(dev, 0, 20, 99);
- litest_touch_move_to(dev, 0, 20, 99, 70, 99, 10);
+ litest_touch_move_to(dev, 0, 20, 99, 70, 99, 15);
litest_touch_up(dev, 0);
libinput_dispatch(li);
@@ -812,7 +812,7 @@ START_TEST(touchpad_edge_scroll_horiz_clickpad)
litest_assert_empty_queue(li);
litest_touch_down(dev, 0, 70, 99);
- litest_touch_move_to(dev, 0, 70, 99, 20, 99, 10);
+ litest_touch_move_to(dev, 0, 70, 99, 20, 99, 15);
litest_touch_up(dev, 0);
libinput_dispatch(li);
@@ -1125,7 +1125,7 @@ START_TEST(touchpad_edge_scroll_buttonareas_click_stops_scroll)
litest_drain_events(li);
litest_touch_down(dev, 0, 20, 95);
- litest_touch_move_to(dev, 0, 20, 95, 70, 95, 10);
+ litest_touch_move_to(dev, 0, 20, 95, 70, 95, 15);
litest_assert_only_axis_events(li, LIBINPUT_EVENT_POINTER_SCROLL_FINGER);
litest_button_click(dev, BTN_LEFT, true);
@@ -1150,7 +1150,7 @@ START_TEST(touchpad_edge_scroll_buttonareas_click_stops_scroll)
* edge scrolling, click, then scrolling without lifting the finger
* is so small we'll let it pass.
*/
- litest_touch_move_to(dev, 0, 70, 95, 90, 95, 10);
+ litest_touch_move_to(dev, 0, 70, 95, 90, 95, 15);
litest_assert_only_typed_events(li, LIBINPUT_EVENT_POINTER_MOTION);
litest_button_click(dev, BTN_LEFT, false);
@@ -1175,7 +1175,7 @@ START_TEST(touchpad_edge_scroll_clickfinger_click_stops_scroll)
litest_drain_events(li);
litest_touch_down(dev, 0, 20, 95);
- litest_touch_move_to(dev, 0, 20, 95, 70, 95, 10);
+ litest_touch_move_to(dev, 0, 20, 95, 70, 95, 15);
litest_assert_only_axis_events(li, LIBINPUT_EVENT_POINTER_SCROLL_FINGER);
litest_button_click(dev, BTN_LEFT, true);
@@ -1194,7 +1194,7 @@ START_TEST(touchpad_edge_scroll_clickfinger_click_stops_scroll)
libinput_event_destroy(event);
/* clickfinger releases pointer -> expect movement */
- litest_touch_move_to(dev, 0, 70, 95, 90, 95, 10);
+ litest_touch_move_to(dev, 0, 70, 95, 90, 95, 15);
litest_assert_only_typed_events(li, LIBINPUT_EVENT_POINTER_MOTION);
litest_assert_empty_queue(li);
@@ -1286,7 +1286,7 @@ START_TEST(touchpad_palm_detect_at_top)
litest_drain_events(li);
litest_touch_down(dev, 0, 20, 1);
- litest_touch_move_to(dev, 0, 20, 1, 70, 1, 10);
+ litest_touch_move_to(dev, 0, 20, 1, 70, 1, 15);
litest_touch_up(dev, 0);
litest_assert_empty_queue(li);
@@ -1433,7 +1433,7 @@ START_TEST(touchpad_palm_detect_palm_becomes_pointer)
litest_drain_events(li);
litest_touch_down(dev, 0, 99, 50);
- litest_touch_move_to(dev, 0, 99, 50, 0, 70, 20);
+ litest_touch_move_to(dev, 0, 99, 50, 0, 70, 25);
litest_touch_up(dev, 0);
libinput_dispatch(li);
@@ -1483,11 +1483,11 @@ START_TEST(touchpad_palm_detect_no_palm_moving_into_edges)
litest_drain_events(li);
litest_touch_down(dev, 0, 50, 50);
- litest_touch_move_to(dev, 0, 50, 50, 99, 50, 10);
+ litest_touch_move_to(dev, 0, 50, 50, 99, 50, 15);
litest_drain_events(li);
- litest_touch_move_to(dev, 0, 99, 50, 99, 90, 10);
+ litest_touch_move_to(dev, 0, 99, 50, 99, 90, 15);
libinput_dispatch(li);
litest_assert_only_typed_events(li, LIBINPUT_EVENT_POINTER_MOTION);
@@ -1513,11 +1513,11 @@ START_TEST(touchpad_palm_detect_no_palm_moving_into_top)
litest_drain_events(li);
litest_touch_down(dev, 0, 50, 50);
- litest_touch_move_to(dev, 0, 50, 50, 0, 2, 10);
+ litest_touch_move_to(dev, 0, 50, 50, 0, 2, 15);
litest_drain_events(li);
- litest_touch_move_to(dev, 0, 0, 2, 50, 50, 10);
+ litest_touch_move_to(dev, 0, 0, 2, 50, 50, 15);
libinput_dispatch(li);
litest_assert_only_typed_events(li, LIBINPUT_EVENT_POINTER_MOTION);