[PATCH wayland 2/2] server: Send differentiated errors on wl_registry.bind

Pekka Paalanen ppaalanen at gmail.com
Mon Jan 22 13:18:07 UTC 2018


On Mon, 22 Jan 2018 13:32:31 +0100
Philipp Kerling <pkerling at casix.org> wrote:

> This now uses the new error codes introduced to wl_registry instead
> of abusing WL_DISPLAY_ERROR_INVALID_OBJECT.
> ---
>  src/wayland-server.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 

Hi,

both patches are:

Acked-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>

I wonder if anyone has anything against changing the error values for
the two cases. WL_DISPLAY_ERROR_INVALID_OBJECT has the same value as
WL_REGISTRY_ERROR_INVALID_GLOBAL, but the others do not.


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180122/32cd8d26/attachment.sig>


More information about the wayland-devel mailing list