mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 09:20:29 +01:00
test: fix hover test to avoid the edge scroll zone
On the synaptics hover device where this test is run, we'd eventually get into the edge scroll zone. When edge scrolling is enabled this causes the test to fail. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
32ea86559b
commit
2447f3862c
1 changed files with 2 additions and 2 deletions
|
|
@ -2787,8 +2787,8 @@ START_TEST(touchpad_semi_mt_hover_down_hover_down)
|
|||
litest_event(dev, EV_SYN, SYN_REPORT, 0);
|
||||
|
||||
for (j = 0; j < 5; j++) {
|
||||
x += 200;
|
||||
y += 200;
|
||||
x -= 200;
|
||||
y -= 200;
|
||||
litest_event(dev, EV_ABS, ABS_MT_POSITION_X, x);
|
||||
litest_event(dev, EV_ABS, ABS_MT_POSITION_Y, y);
|
||||
litest_event(dev, EV_ABS, ABS_X, x);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue