[PATCH wayland 2/3] protocol: Clarify selection data offer destruction requirement

Bill Spitzak spitzak at gmail.com
Fri Jan 23 20:22:43 PST 2015


Looks correct to me.

On Fri, Jan 23, 2015 at 12:21 AM, Jonas Ådahl <jadahl at gmail.com> wrote:

> Clarify that a client receiving a wl_data_device.selection event must
> destroy the data_offer of the previous wl_data_device.selection event,
> if any.
>
> Signed-off-by: Jonas Ådahl <jadahl at gmail.com>
> ---
>  protocol/wayland.xml | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/protocol/wayland.xml b/protocol/wayland.xml
> index ac1b62f..2a49805 100644
> --- a/protocol/wayland.xml
> +++ b/protocol/wayland.xml
> @@ -643,7 +643,9 @@
>         immediately before receiving keyboard focus and when a new
>         selection is set while the client has keyboard focus.  The
>         data_offer is valid until a new data_offer or NULL is received
> -       or until the client loses keyboard focus.
> +       or until the client loses keyboard focus.  The client must
> +       destroy the previous selection data_offer, if any, upon receiving
> +       this event.
>        </description>
>        <arg name="id" type="object" interface="wl_data_offer"
> allow-null="true"/>
>      </event>
> --
> 2.1.0
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20150123/6f7ef0d6/attachment.html>


More information about the wayland-devel mailing list