litest_drain_events(li);
- litest_touch_down(dev, 0, 50, 50);
+ litest_touch_down(dev, 0, 30, 70);
litest_touch_up(dev, 0);
- litest_touch_down(dev, 0, 50, 50);
- litest_touch_down(dev, 1, 60, 50);
- litest_touch_move_to(dev, 0, 50, 50, 80, 80, 5, 40);
+ litest_touch_down(dev, 0, 30, 70);
+ litest_touch_down(dev, 1, 80, 70);
+ litest_touch_move_to(dev, 0, 30, 70, 30, 30, 5, 40);
libinput_dispatch(li);
litest_assert_button_event(li, BTN_LEFT,
litest_drain_events(li);
- litest_touch_down(dev, 0, 50, 50);
+ litest_touch_down(dev, 0, 30, 70);
litest_touch_up(dev, 0);
- litest_touch_down(dev, 0, 50, 50);
- litest_touch_down(dev, 1, 60, 50);
- litest_touch_move_to(dev, 0, 50, 50, 80, 80, 5, 40);
+ litest_touch_down(dev, 0, 30, 70);
+ litest_touch_down(dev, 1, 80, 90);
+ litest_touch_move_to(dev, 0, 30, 70, 30, 30, 5, 40);
libinput_dispatch(li);
litest_assert_button_event(li, BTN_LEFT,