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

Jonas Ådahl jadahl at gmail.com
Thu Apr 14 08:28:14 UTC 2016


Signed-off-by: Jonas Ådahl <jadahl at gmail.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 f8875e8..2a3cf66 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">
@@ -125,6 +126,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.4.3



More information about the wayland-devel mailing list