mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-29 16:00:09 +01:00
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>
This commit is contained in:
parent
e461f21c52
commit
68ed1b96a8
1 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue