protocol: add invalid_size error to wl_surface
authorSimon Ser <contact@emersion.fr>
Wed, 26 Feb 2020 17:30:57 +0000 (18:30 +0100)
committerPekka Paalanen <pq@iki.fi>
Thu, 5 Mar 2020 14:48:36 +0000 (14:48 +0000)
commit8d5fadad47aad420b0d83fffc8ad573766a9c75e
tree0f700cd2270f54c62a36a7f983cd12c68fb2d57e
parentef40f82ac1b90f49af0f147d958a558cc980cb8b
protocol: add invalid_size error to wl_surface

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.

Signed-off-by: Simon Ser <contact@emersion.fr>
Closes: https://gitlab.freedesktop.org/wayland/wayland/issues/145
protocol/wayland.xml