[PATCH wayland 1/2] protocol: Add release (destructor) request to wl_output

Yong Bakos ybakos at icloud.com
Tue Jul 26 21:35:57 UTC 2016


On Jul 5, 2016, at 11:41 AM, Quentin Glidic <sardemff7+wayland at sardemff7.net> wrote:
> 
> From: Quentin Glidic <sardemff7+git at sardemff7.net>
> 
> Signed-off-by: Quentin Glidic <sardemff7+git at sardemff7.net>

Would be nice to see, in the commit message, what use case motivated
you to add this. </whine>

Reviewed-by: Yong Bakos <ybakos at humanoriented.com>

yong


> ---
> protocol/wayland.xml | 13 ++++++++++++-
> 1 file changed, 12 insertions(+), 1 deletion(-)
> 
> diff --git a/protocol/wayland.xml b/protocol/wayland.xml
> index 700ef03..0830afc 100644
> --- a/protocol/wayland.xml
> +++ b/protocol/wayland.xml
> @@ -2264,7 +2264,7 @@
>     </request>
>   </interface>
> 
> -  <interface name="wl_output" version="2">
> +  <interface name="wl_output" version="3">
>     <description summary="compositor output region">
>       An output describes part of the compositor geometry.  The
>       compositor works in the 'compositor coordinate system' and an
> @@ -2369,6 +2369,8 @@
>       <arg name="refresh" type="int" summary="vertical refresh rate in mHz"/>
>     </event>
> 
> +    <!-- Version 2 additions -->
> +
>     <event name="done" since="2">
>       <description summary="sent all information about output">
>         This event is sent after all other properties have been
> @@ -2402,6 +2404,15 @@
>       </description>
>       <arg name="factor" type="int" summary="scaling factor of output"/>
>     </event>
> +
> +    <!-- Version 3 additions -->
> +
> +    <request name="release" type="destructor" since="3">
> +      <description summary="release the output object">
> +	Using this request a client can tell the server that it is not going to
> +	use the output object anymore.
> +      </description>
> +    </request>
>   </interface>
> 
>   <interface name="wl_region" version="1">
> -- 
> 2.9.0
> 
> _______________________________________________
> 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