[PATCH libinput 7/8] tablet: Update motion_event_state test to use litest_tablet_motion()
Stephen Chandler Paul
thatslyude at gmail.com
Mon Feb 16 19:48:45 PST 2015
Signed-off-by: Stephen Chandler Paul <thatslyude at gmail.com>
---
test/tablet.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/tablet.c b/test/tablet.c
index d67d954..8074e4e 100644
--- a/test/tablet.c
+++ b/test/tablet.c
@@ -376,7 +376,7 @@ START_TEST(motion_event_state)
/* couple of events that go left/bottom to right/top */
for (test_x = 0, test_y = 100; test_x < 100; test_x += 10, test_y -= 10)
- litest_tablet_proximity_in(dev, test_x, test_y, axes);
+ litest_tablet_motion(dev, test_x, test_y, axes);
libinput_dispatch(li);
@@ -401,7 +401,7 @@ START_TEST(motion_event_state)
litest_event(dev, EV_SYN, SYN_REPORT, 0);
for (test_x = 100, test_y = 0; test_x > 0; test_x -= 10, test_y += 10)
- litest_tablet_proximity_in(dev, test_x, test_y, axes);
+ litest_tablet_motion(dev, test_x, test_y, axes);
libinput_event_destroy(event);
libinput_dispatch(li);
--
1.9.5
More information about the wayland-devel
mailing list