diff options
author | Alexandros Frantzis <alexandros.frantzis@collabora.com> | 2017-12-13 13:27:55 +0200 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2017-12-18 11:27:43 +0200 |
commit | 2180858592bdfa67ed75fb91cde1c18ee17270a2 (patch) | |
tree | d01f3cc3b9c6817969272ada9babf325baed485a /protocol | |
parent | 10d708d2688f26c17b3f009fcc681174d9877166 (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 'protocol')
-rw-r--r-- | protocol/weston-test.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/protocol/weston-test.xml b/protocol/weston-test.xml index 74a15214..ae3349ed 100644 --- a/protocol/weston-test.xml +++ b/protocol/weston-test.xml @@ -40,10 +40,16 @@ <arg name="y" type="int"/> </request> <request name="move_pointer"> + <arg name="tv_sec_hi" type="uint"/> + <arg name="tv_sec_lo" type="uint"/> + <arg name="tv_nsec" type="uint"/> <arg name="x" type="int"/> <arg name="y" type="int"/> </request> <request name="send_button"> + <arg name="tv_sec_hi" type="uint"/> + <arg name="tv_sec_lo" type="uint"/> + <arg name="tv_nsec" type="uint"/> <arg name="button" type="int"/> <arg name="state" type="uint"/> </request> |