[PATCH wayland 6/8] protocol: Remove wl_ prefix from summary descriptions

Bryce Harrington bryce at osg.samsung.com
Fri Aug 12 01:37:06 UTC 2016


On Thu, Aug 11, 2016 at 02:33:03PM -0700, Yong Bakos wrote:
> From: Yong Bakos <ybakos at humanoriented.com>
> 
> Summary attributes sometime describe objects using their wl-prefixed type,
> but more often don't.
> 
> Remove the wl_ prefix from summary descriptions, since they tend to describe
> concepts.
> 
> Signed-off-by: Yong Bakos <ybakos at humanoriented.com>

This does seem to read a bit better, but I don't mind the prefixes
personally.  Anyway:

Reviewed-by: Bryce Harrington <bryce at osg.samsung.com>

> ---
>  protocol/wayland.xml | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/protocol/wayland.xml b/protocol/wayland.xml
> index 55a74a7..ac066f4 100644
> --- a/protocol/wayland.xml
> +++ b/protocol/wayland.xml
> @@ -175,7 +175,7 @@
>        <description summary="done event">
>  	Notify the client when the related request is done.
>        </description>
> -      <arg name="callback_data" type="uint" summary="request-specific data for the wl_callback"/>
> +      <arg name="callback_data" type="uint" summary="request-specific data for the callback"/>
>      </event>
>    </interface>
>  
> @@ -1029,7 +1029,7 @@
>  	The server may ignore move requests depending on the state of
>  	the surface (e.g. fullscreen or maximized).
>        </description>
> -      <arg name="seat" type="object" interface="wl_seat" summary="the wl_seat whose pointer is used"/>
> +      <arg name="seat" type="object" interface="wl_seat" summary="seat whose pointer is used"/>
>        <arg name="serial" type="uint" summary="serial of the implicit grab on the pointer"/>
>      </request>
>  
> @@ -1059,7 +1059,7 @@
>  	The server may ignore resize requests depending on the state of
>  	the surface (e.g. fullscreen or maximized).
>        </description>
> -      <arg name="seat" type="object" interface="wl_seat" summary="the wl_seat whose pointer is used"/>
> +      <arg name="seat" type="object" interface="wl_seat" summary="seat whose pointer is used"/>
>        <arg name="serial" type="uint" summary="serial of the implicit grab on the pointer"/>
>        <arg name="edges" type="uint" enum="resize" summary="which edge or corner is being dragged"/>
>      </request>
> @@ -1174,7 +1174,7 @@
>  	parent surface, in surface-local coordinates.
>        </description>
>  
> -      <arg name="seat" type="object" interface="wl_seat" summary="the wl_seat whose pointer is used"/>
> +      <arg name="seat" type="object" interface="wl_seat" summary="seat whose pointer is used"/>
>        <arg name="serial" type="uint" summary="serial of the implicit grab on the pointer"/>
>        <arg name="parent" type="object" interface="wl_surface" summary="parent surface"/>
>        <arg name="x" type="int" summary="surface-local x coordinate"/>
> -- 
> 2.7.2
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list