The subsurface to export as video viewport cannot have a child
subsurface. This patch adds protocol errors to prevent video viewport
subsurface from having a child subsurface.
Change-Id: I6086558827fc866b73378e6e267671c29b8dc0e5
<interface name="wtz_video_shell" version="1">
<enum name="error">
<entry name="role" value="0" summary="given surface has another role"/>
+ <entry name="child_exists" value="1" summary="the subsurface to export as video viewport cannot have a child subsurface"/>
</enum>
<request name="export_viewport">
<entry name="bad_value" value="0" summary="negative or zero values in width or height"/>
<entry name="invalid_transform" value="1" summary="transform value is invalid"/>
<entry name="no_subsurface" value="2" summary="the wl_subsurface was destroyed"/>
+ <entry name="child_added" value="3" summary="the video viewport subsurface cannot have a child subsurface"/>
</enum>
<enum name="transform">