diff options
author | Derek Foreman <derek.foreman@collabora.com> | 2023-02-07 07:13:48 -0600 |
---|---|---|
committer | Pekka Paalanen <pq@iki.fi> | 2023-02-09 12:12:40 +0000 |
commit | 3ef8bb9935b84bcf7d8f81aac6d0559122cecc9a (patch) | |
tree | f1f49339da2e37f44311c21056a711fd5aab4c61 /protocol | |
parent | 4d0ce16669441812080ca7d941a646d8519cbdb8 (diff) | |
download | weston-3ef8bb9935b84bcf7d8f81aac6d0559122cecc9a.tar.gz |
tests: Don't send real coordinates with WL_TOUCH_UP events
Wayland protocol can't do this, but the way our test protocol handles
touch through a single event can - ensure that we don't by accident.
This will matter more shortly when we add assert()s to prevent having
coordinates with WL_TOUCH_UP events internally later.
Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
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 f880414d..845b1d41 100644 --- a/protocol/weston-test.xml +++ b/protocol/weston-test.xml @@ -34,6 +34,12 @@ These requests may allow clients to do very bad things. </description> + + <enum name="error"> + <entry name="touch_up_with_coordinate" value="0" + summary="invalid coordinate"/> + </enum> + <request name="move_surface"> <arg name="surface" type="object" interface="wl_surface"/> <arg name="x" type="int"/> |