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 22eb6e7..3091d83 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -222,6 +222,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"/>
--
2.0.0
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel