Add missing role error for xdg_surface

The source of Weston and Mutter are sending xdg_wm_base::error::role on xdg_surface.
This error code is zero and is not currently defined for xdg_surface so existing code
should work and this will be clearer for clients that this error can be received on
these objects.

Signed-off-by: Robert Ancell <robert.ancell@canonical.com>
This commit is contained in:
Robert Ancell 2026-04-22 16:22:00 +12:00
parent 911ab509ed
commit fcad80f01f
No known key found for this signature in database
GPG key ID: 5A4D9816CA519FBD

View file

@ -460,6 +460,7 @@
</description>
<enum name="error">
<entry name="role" value="0" summary="Surface already has another role"/>
<entry name="not_constructed" value="1"
summary="Surface was not fully constructed"/>
<entry name="already_constructed" value="2"