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>
This commit is contained in:
Peter Hutterer 2017-01-24 09:56:36 +10:00 committed by Pekka Paalanen
parent 721e0b4a97
commit 493eda337a
4 changed files with 294 additions and 112 deletions

View file

@ -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[] = {