Skip to content
Commit 7a0b86ab authored by Pekka Paalanen's avatar Pekka Paalanen
Browse files

protocol: define error codes for role reassignment



On the interfaces where it was missing:
- wl_data_device
- wl_shell
- wl_pointer
add an error code for requests that set a wl_surface role when the
wl_surface already has a different role.

This is needed for compositors to appropriately report wl_surface
role violations.

Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: default avatarJasper St. Pierre <jstpierre@mecheye.net>
Acked-by: default avatarJason Ekstrand <jason.ekstrand@intel.com>
parent aee813f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment