<div dir="ltr"><div>As I mentioned on IRC, I don't really like adding and using an enum value without bumping protocol version.  However, the only time we ever use it is to kill the client so the worst thing that can happen is that the client doesn't report the error correctly.  I think I'm ok with it.<br>
</div>--Jason Ekstrand<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 22, 2014 at 10:37 AM, Jasper St. Pierre <span dir="ltr"><<a href="mailto:jstpierre@mecheye.net" target="_blank">jstpierre@mecheye.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This will be used by implementations to send out errors if clients try<br>
to set roles on surfaces that already have roles.<br>
---<br>
 protocol/wayland.xml | 1 +<br>
 1 file changed, 1 insertion(+)<br>
<br>
diff --git a/protocol/wayland.xml b/protocol/wayland.xml<br>
index bb457bc..f6eb54d 100644<br>
--- a/protocol/wayland.xml<br>
+++ b/protocol/wayland.xml<br>
@@ -983,6 +983,7 @@<br>
       </description><br>
       <entry name="invalid_scale" value="0" summary="buffer scale value is invalid"/><br>
       <entry name="invalid_transform" value="1" summary="buffer transform value is invalid"/><br>
+      <entry name="surface_has_existing_role" value="2" summary="the surface passed already has a role"/><br>
     </enum><br>
<br>
     <request name="destroy" type="destructor"><br>
<span class="HOEnZb"><font color="#888888">--<br>
2.1.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>