[PATCH] xdg-shell: rename the xdg_surface.delete event to close.

Jasper St. Pierre jstpierre at mecheye.net
Mon Mar 24 06:48:10 PDT 2014


Yeah, this is fine with me.

Reviewed-by: Jasper St. Pierre <jstpierre at mecheye.net>


On Mon, Mar 24, 2014 at 8:13 AM, Giulio Camuffo <giuliocamuffo at gmail.com>wrote:

> 'close' is more consistent with the purpose of the event than
> 'delete', and it is also c++ friendly, since 'delete' is a keyword.
> ---
>  protocol/xdg-shell.xml | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/protocol/xdg-shell.xml b/protocol/xdg-shell.xml
> index a2913c4..79a2831 100644
> --- a/protocol/xdg-shell.xml
> +++ b/protocol/xdg-shell.xml
> @@ -384,9 +384,9 @@
>        </description>
>      </event>
>
> -    <event name="delete">
> +    <event name="close">
>        <description summary="surface wants to be closed">
> -        The delete event is sent by the compositor when the user
> +        The close event is sent by the compositor when the user
>          wants the surface to be closed. This should be equivalent to
>          the user clicking the close button in client-side decorations,
>          if your application has any...
> --
> 1.9.1
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>



-- 
  Jasper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20140324/a50d4944/attachment.html>


More information about the wayland-devel mailing list