mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
Define shm specific errors
We stop abusing the wl_display error codes for shm purposes.
This commit is contained in:
parent
1db0525572
commit
8834a0f22f
2 changed files with 16 additions and 15 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue