Commit 68ed1b96 authored by Peter Hutterer's avatar Peter Hutterer

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's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent e461f21c
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment