summaryrefslogtreecommitdiff
path: root/tests/weston-test-client-helper.h
diff options
context:
space:
mode:
authorAlexandros Frantzis <alexandros.frantzis@collabora.com>2017-12-13 13:27:55 +0200
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2017-12-18 11:27:43 +0200
commit2180858592bdfa67ed75fb91cde1c18ee17270a2 (patch)
treed01f3cc3b9c6817969272ada9babf325baed485a /tests/weston-test-client-helper.h
parent10d708d2688f26c17b3f009fcc681174d9877166 (diff)
tests: Add checks for pointer motion and button event timestamps
Enhance the existing pointer motion and button event tests to additionally verify the event timestamps. This requires updating the weston-test protocol to support passing motion and button event timestamps. Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'tests/weston-test-client-helper.h')
-rw-r--r--tests/weston-test-client-helper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/weston-test-client-helper.h b/tests/weston-test-client-helper.h
index 880f47a6..6f5f9c41 100644
--- a/tests/weston-test-client-helper.h
+++ b/tests/weston-test-client-helper.h
@@ -90,6 +90,8 @@ struct pointer {
int y;
uint32_t button;
uint32_t state;
+ uint32_t motion_time_msec;
+ uint32_t button_time_msec;
};
struct keyboard {