<div dir="ltr">Yup, we need this.<br><div><br>Reviewed-By: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 19, 2014 at 12:26 PM, Neil Roberts <span dir="ltr"><<a href="mailto:neil@linux.intel.com" target="_blank">neil@linux.intel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Outputs can come and go within the compositor. If we don't have a way<br>
for the client to destroy the resource then the resources within the<br>
compositor will effectively leak until the client disconnects. This is<br>
similar to the release event for wl_pointer.<br>
---<br>
protocol/wayland.xml | 8 +++++++-<br>
1 file changed, 7 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/protocol/wayland.xml b/protocol/wayland.xml<br>
index 22eb6e7..d1680f7 100644<br>
--- a/protocol/wayland.xml<br>
+++ b/protocol/wayland.xml<br>
@@ -1652,7 +1652,7 @@<br>
</request><br>
</interface><br>
<br>
- <interface name="wl_output" version="2"><br>
+ <interface name="wl_output" version="3"><br>
<description summary="compositor output region"><br>
An output describes part of the compositor geometry. The<br>
compositor works in the 'compositor coordinate system' and an<br>
@@ -1790,6 +1790,12 @@<br>
</description><br>
<arg name="factor" type="int" summary="scaling factor of output"/><br>
</event><br>
+<br>
+ <!-- Version 3 additions --><br>
+<br>
+ <request name="release" type="destructor" since="3"><br>
+ <description summary="release the output object"/><br>
+ </request><br>
</interface><br>
<br>
<interface name="wl_region" version="1"><br>
<span class="HOEnZb"><font color="#888888">--<br>
1.9.0<br>
<br>
_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
</font></span></blockquote></div><br></div>