[PATCH wayland-protocols v2 3/7] xdg-shell: Add error codes for invalid surface state

Jonas Ådahl jadahl at gmail.com
Wed May 11 05:50:00 UTC 2016


Signed-off-by: Jonas Ådahl <jadahl at gmail.com>
Reviewed-by: Mike Blumenkrantz <zmike at osg.samsung.com>
---
 unstable/xdg-shell/xdg-shell-unstable-v6.xml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/unstable/xdg-shell/xdg-shell-unstable-v6.xml b/unstable/xdg-shell/xdg-shell-unstable-v6.xml
index 2a30af5..0d31ca5 100644
--- a/unstable/xdg-shell/xdg-shell-unstable-v6.xml
+++ b/unstable/xdg-shell/xdg-shell-unstable-v6.xml
@@ -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">
@@ -127,6 +128,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">
-- 
2.5.5



More information about the wayland-devel mailing list