summaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'protocol')
-rw-r--r--protocol/wayland.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index aef8385..afeaf9e 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -87,6 +87,12 @@
<!-- Shared memory support -->
<interface name="wl_shm" version="1">
+ <enum name="error">
+ <entry name="invalid_visual" value="0"/>
+ <entry name="invalid_stride" value="1"/>
+ <entry name="invalid_fd" value="2"/>
+ </enum>
+
<!-- Transfer a shm buffer to the server. The allocated buffer
would include at least stride * height bytes starting at the
beginning of fd. The file descriptor is transferred over the