This already happens in weston.
---
 protocol/wayland.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index 61fde84..a9c8e53 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -220,6 +220,11 @@
        A buffer will keep a reference to the pool it was created from
        so it is valid to destroy the pool immediately after creating
        a buffer from it.
+
+       If offset is negative, width or height are not greater than
+       zero, or the stride is less than the width the invalid_stride
+       protocol error is raised. If the format is not supported the
+       invalid_format protocol error is raised.
       </description>
 
       <arg name="id" type="new_id" interface="wl_buffer"/>
-- 
1.8.4.2

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to