protocol: add invalid_size error to wl_surface

Graphics / Wayland / Wayland - Simon Ser [emersion.fr] - 5 March 2020 14:48 UTC

This allows the compositor to send an error when the client submits a buffer whose size is not divisible by the buffer scale. Previously, the protocol said it was a client error but didn't specify any error code.

8d5fada protocol: add invalid_size error to wl_surface
protocol/wayland.xml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share