diff options
| author | Peter Hutterer <peter.hutterer@who-t.net> | 2017-01-24 09:56:36 +1000 |
|---|---|---|
| committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2017-01-24 11:48:46 +0200 |
| commit | 493eda337ae7cc5530c23833f91f1738690d7ba3 (patch) | |
| tree | 031d81d5803c14350a6a88eece70461f12e1445e /tests/data/example-code.c | |
| parent | util: Document wl_array and wl_list members (diff) | |
| download | wayland-493eda337ae7cc5530c23833f91f1738690d7ba3.tar wayland-493eda337ae7cc5530c23833f91f1738690d7ba3.tar.gz wayland-493eda337ae7cc5530c23833f91f1738690d7ba3.tar.bz2 wayland-493eda337ae7cc5530c23833f91f1738690d7ba3.tar.lz wayland-493eda337ae7cc5530c23833f91f1738690d7ba3.tar.xz wayland-493eda337ae7cc5530c23833f91f1738690d7ba3.tar.zst wayland-493eda337ae7cc5530c23833f91f1738690d7ba3.zip | |
tests: sync example.xml with wayland.xml
These are the protocol.xml changes from:
66a26aeb2a: protocol: Remove inconsistent line breaks
a26ed0949e: protocol: indentation fixes
6a18a87727: protocol: Extend wl_touch with touchpoint shape and orientation
and a few other, smaller ones.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Yong Bakos <ybakos@humanoriented.com>
Tested-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'tests/data/example-code.c')
| -rw-r--r-- | tests/data/example-code.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/data/example-code.c b/tests/data/example-code.c index 7dea253..bc03fe5 100644 --- a/tests/data/example-code.c +++ b/tests/data/example-code.c @@ -383,7 +383,7 @@ static const struct wl_message wl_seat_events[] = { }; WL_EXPORT const struct wl_interface wl_seat_interface = { - "wl_seat", 5, + "wl_seat", 6, 4, wl_seat_requests, 2, wl_seat_events, }; @@ -406,7 +406,7 @@ static const struct wl_message wl_pointer_events[] = { }; WL_EXPORT const struct wl_interface wl_pointer_interface = { - "wl_pointer", 5, + "wl_pointer", 6, 2, wl_pointer_requests, 9, wl_pointer_events, }; @@ -425,7 +425,7 @@ static const struct wl_message wl_keyboard_events[] = { }; WL_EXPORT const struct wl_interface wl_keyboard_interface = { - "wl_keyboard", 5, + "wl_keyboard", 6, 1, wl_keyboard_requests, 6, wl_keyboard_events, }; @@ -440,12 +440,14 @@ static const struct wl_message wl_touch_events[] = { { "motion", "uiff", types + 0 }, { "frame", "", types + 0 }, { "cancel", "", types + 0 }, + { "shape", "6iff", types + 0 }, + { "orientation", "6if", types + 0 }, }; WL_EXPORT const struct wl_interface wl_touch_interface = { - "wl_touch", 5, + "wl_touch", 6, 1, wl_touch_requests, - 5, wl_touch_events, + 7, wl_touch_events, }; static const struct wl_message wl_output_requests[] = { |
