diff options
| author | Kristian Høgsberg <krh@bitplanet.net> | 2011-05-11 11:00:40 -0400 |
|---|---|---|
| committer | Kristian Høgsberg <krh@bitplanet.net> | 2011-05-11 13:06:51 -0400 |
| commit | 8834a0f22f36d7890691015ef93b3c77cf9b4bbb (patch) | |
| tree | 54b218645ee275772afc577facbf2f21e694b4a3 /protocol | |
| parent | Unify error events (diff) | |
| download | wayland-8834a0f22f36d7890691015ef93b3c77cf9b4bbb.tar wayland-8834a0f22f36d7890691015ef93b3c77cf9b4bbb.tar.gz wayland-8834a0f22f36d7890691015ef93b3c77cf9b4bbb.tar.bz2 wayland-8834a0f22f36d7890691015ef93b3c77cf9b4bbb.tar.lz wayland-8834a0f22f36d7890691015ef93b3c77cf9b4bbb.tar.xz wayland-8834a0f22f36d7890691015ef93b3c77cf9b4bbb.tar.zst wayland-8834a0f22f36d7890691015ef93b3c77cf9b4bbb.zip | |
Define shm specific errors
We stop abusing the wl_display error codes for shm purposes.
Diffstat (limited to 'protocol')
| -rw-r--r-- | protocol/wayland.xml | 6 |
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 |
