diff options
| author | James Legg <lankyleggy@gmail.com> | 2021-06-03 00:10:22 +0100 |
|---|---|---|
| committer | Pekka Paalanen <pq@iki.fi> | 2021-07-07 12:11:42 +0000 |
| commit | b7153f2273d076adfdaaf6717cde1aca69da5f04 (patch) | |
| tree | e6037659faed8d80c266b44fa75325e284dd608a /tests/data/example.xml | |
| parent | scanner: Use descriptions in entries (diff) | |
| download | wayland-b7153f2273d076adfdaaf6717cde1aca69da5f04.tar wayland-b7153f2273d076adfdaaf6717cde1aca69da5f04.tar.gz wayland-b7153f2273d076adfdaaf6717cde1aca69da5f04.tar.bz2 wayland-b7153f2273d076adfdaaf6717cde1aca69da5f04.tar.lz wayland-b7153f2273d076adfdaaf6717cde1aca69da5f04.tar.xz wayland-b7153f2273d076adfdaaf6717cde1aca69da5f04.tar.zst wayland-b7153f2273d076adfdaaf6717cde1aca69da5f04.zip | |
tests: Test wayland-scanner with a description in an entry
This previously would have caused a memory leak and incorrect
comments.
Signed-off-by: James Legg <lankyleggy@gmail.com>
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
Diffstat (limited to 'tests/data/example.xml')
| -rw-r--r-- | tests/data/example.xml | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/tests/data/example.xml b/tests/data/example.xml index 29b63be..38feec3 100644 --- a/tests/data/example.xml +++ b/tests/data/example.xml @@ -1980,21 +1980,23 @@ from a "finger" source may be in a smooth coordinate space with kinetic scrolling whereas a "wheel" source may be in discrete steps of a number of lines. - - The "continuous" axis source is a device generating events in a - continuous coordinate space, but using something other than a - finger. One example for this source is button-based scrolling where - the vertical motion of a device is converted to scroll events while - a button is held down. - - The "wheel tilt" axis source indicates that the actual device is a - wheel but the scroll event is not caused by a rotation but a - (usually sideways) tilt of the wheel. </description> <entry name="wheel" value="0" summary="a physical wheel rotation" /> <entry name="finger" value="1" summary="finger on a touch surface" /> - <entry name="continuous" value="2" summary="continuous coordinate space"/> - <entry name="wheel_tilt" value="3" summary="a physical wheel tilt" since="6"/> + <entry name="continuous" value="2"> + <description summary="continuous coordinate space"> + A device generating events in a continuous coordinate space, but + using something other than a finger. One example for this source + is button-based scrolling where the vertical motion of a device + is converted to scroll events while a button is held down. + </description> + </entry> + <entry name="wheel_tilt" value="3" since="6"> + <description summary="a physical wheel tilt"> + Indicates that the actual device is a wheel but the scroll event is + not caused by a rotation but a (usually sideways) tilt of the wheel. + </description> + </entry> </enum> <event name="axis_source" since="5"> |
