xdg-shell: Add error codes for invalid surface state

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Reviewed-by: Mike Blumenkrantz <zmike@osg.samsung.com>
Reviewed-by: Yong Bakos <ybakos@humanoriented.com>
Acked-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
Jonas Ådahl 2016-02-08 10:49:53 +08:00
parent 5f694ca7e4
commit 2258fa64c9

View file

@ -40,6 +40,7 @@
<entry name="defunct_surfaces" value="1" summary="xdg_shell was destroyed before children"/>
<entry name="not_the_topmost_popup" value="2" summary="the client tried to map or destroy a non-topmost popup"/>
<entry name="invalid_popup_parent" value="3" summary="the client specified an invalid popup parent surface"/>
<entry name="invalid_surface_state" value="4" summary="the client provided an invalid surface state"/>
</enum>
<request name="destroy" type="destructor">
@ -133,6 +134,7 @@
<enum name="error">
<entry name="not_constructed" value="1"/>
<entry name="already_constructed" value="2"/>
<entry name="unconfigured_buffer" value="3"/>
</enum>
<request name="destroy" type="destructor">