summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2017-04-28 13:34:56 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2017-04-28 15:37:00 +1000
commit68ed1b96a82740e80b258c4b4e1c8b8c0031cbc7 (patch)
tree22c1808f50664ab0b62d6f1533f6a290994e536c /test
parente461f21c5232baba105c0aaf17987e319143ba9d (diff)
test: enable drag lock for multitap tests
Without this enabled, we stay in the single/double tap part of the state machine and a triple tap is just a double tap followed by a single tap. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'test')
-rw-r--r--test/test-touchpad-tap.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test-touchpad-tap.c b/test/test-touchpad-tap.c
index 2739f85..1c90896 100644
--- a/test/test-touchpad-tap.c
+++ b/test/test-touchpad-tap.c
@@ -125,6 +125,7 @@ START_TEST(touchpad_1fg_multitap)
ntaps;
litest_enable_tap(dev->libinput_device);
+ litest_enable_drag_lock(dev->libinput_device);
litest_drain_events(li);
@@ -173,6 +174,7 @@ START_TEST(touchpad_1fg_multitap_n_drag_move)
ntaps;
litest_enable_tap(dev->libinput_device);
+ litest_enable_drag_lock(dev->libinput_device);
litest_drain_events(li);
@@ -242,6 +244,7 @@ START_TEST(touchpad_1fg_multitap_n_drag_2fg)
return;
litest_enable_tap(dev->libinput_device);
+ litest_enable_drag_lock(dev->libinput_device);
litest_drain_events(li);
@@ -313,6 +316,7 @@ START_TEST(touchpad_1fg_multitap_n_drag_click)
ntaps;
litest_enable_tap(dev->libinput_device);
+ litest_enable_drag_lock(dev->libinput_device);
litest_drain_events(li);
@@ -373,6 +377,7 @@ START_TEST(touchpad_1fg_multitap_n_drag_timeout)
ntaps;
litest_enable_tap(dev->libinput_device);
+ litest_enable_drag_lock(dev->libinput_device);
litest_drain_events(li);