From e21aeb5d1290de0ab67995bbd6341ef399a1f399 Mon Sep 17 00:00:00 2001 From: Yong Bakos Date: Sat, 30 Apr 2016 07:35:50 -0500 Subject: [PATCH] protocol: Add summaries to event parameters MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit All event arg elements now have an appropriate summary attribute. This was conducted mostly in response to the undocumented parameter warnings generated during 'make check'. Signed-off-by: Yong Bakos Reviewed-by: Jonas Ådahl Reviewed-by: Bryce Harrington --- protocol/wayland.xml | 128 ++++++++++++++++++++++++++------------------------- 1 file changed, 65 insertions(+), 63 deletions(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 378879e..1555677 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -70,9 +70,9 @@ own set of error codes. The message is a brief description of the error, for (debugging) convenience. - - - + + + @@ -96,7 +96,7 @@ When the client receives this event, it will know that it can safely reuse the object ID. - + @@ -141,9 +141,9 @@ the given name is now available, and it implements the given version of the given interface. - - - + + + @@ -159,7 +159,7 @@ ignored until the client destroys it, to avoid races between the global going away and a client sending a request to it. - + @@ -367,7 +367,7 @@ can be used for buffers. Known formats include argb8888 and xrgb8888. - + @@ -485,7 +485,7 @@ event per offered mime type. - + @@ -550,7 +550,7 @@ will be sent right after wl_data_device.enter, or anytime the source side changes its offered actions through wl_data_source.set_actions. - + @@ -591,7 +591,7 @@ final wl_data_offer.set_actions and wl_data_offer.accept requests must happen before the call to wl_data_offer.finish. - + @@ -633,7 +633,7 @@ Used for feedback during drag-and-drop. - + @@ -643,8 +643,8 @@ close it. - - + + @@ -746,7 +746,7 @@ Clients can trigger cursor surface changes from this point, so they reflect the current action. - + @@ -821,7 +821,7 @@ mime types it offers. - + @@ -832,11 +832,12 @@ coordinates. - - - - - + + + + + @@ -855,8 +856,8 @@ coordinates. - - + + @@ -891,7 +892,8 @@ destroy the previous selection data_offer, if any, upon receiving this event. - + @@ -1230,7 +1232,7 @@ Ping a client to check if it is receiving events and sending requests. A client is expected to reply with a pong request. - + @@ -1254,9 +1256,9 @@ in surface-local coordinates. - - - + + + @@ -1532,7 +1534,7 @@ Note that a surface may be overlapping with zero or more outputs. - + @@ -1541,7 +1543,7 @@ results in it no longer having any part of it within the scanout region of an output. - + @@ -1700,7 +1702,7 @@ The above behavior also applies to wl_keyboard and wl_touch with the keyboard and touch capabilities, respectively. - + @@ -1750,7 +1752,7 @@ identify which physical devices the seat represents. Based on the seat configuration used by the compositor. - + @@ -1831,8 +1833,8 @@ an appropriate pointer image with the set_cursor request. - - + + @@ -1845,8 +1847,8 @@ The leave notification is sent before the enter notification for the new focus. - - + + @@ -1880,10 +1882,10 @@ granularity, with an undefined base. - + - - + + @@ -1915,8 +1917,8 @@ - - + + @@ -2019,7 +2021,7 @@ The order of wl_pointer.axis_discrete and wl_pointer.axis_source is not guaranteed. - + @@ -2072,8 +2074,8 @@ The order of wl_pointer.axis_discrete and wl_pointer.axis_source is not guaranteed. - - + + @@ -2099,9 +2101,9 @@ This event provides a file descriptor to the client which can be memory-mapped to provide a keyboard mapping description. - - - + + + @@ -2109,8 +2111,8 @@ Notification that this seat's keyboard focus is on a certain surface. - - + + @@ -2122,8 +2124,8 @@ The leave notification is sent before the enter notification for the new focus. - - + + @@ -2141,10 +2143,10 @@ granularity, with an undefined base. - + - - + + @@ -2153,11 +2155,11 @@ changed, and it should update its local state. - - - - - + + + + + @@ -2210,9 +2212,9 @@ this ID. The ID ceases to be valid after a touch up event and may be reused in the future. - + - + @@ -2224,7 +2226,7 @@ this touch point and the touch point's ID is released and may be reused in a future touch down event. - + -- 2.7.4