Add invalid_layer error to zwlr_layer_surface_v1

This should be used in zwlr_layer_surface_v1.set_layer.
wlroots is currently incorrectly using zwlr_layer_shell_v1.error.invalid_layer
for this and will now be able to be corrected.
This commit is contained in:
Robert Ancell 2026-04-22 11:44:26 +12:00
parent bf4fc79abc
commit 55c4da9d11
No known key found for this signature in database
GPG key ID: 5A4D9816CA519FBD

View file

@ -25,7 +25,7 @@
THIS SOFTWARE.
</copyright>
<interface name="zwlr_layer_shell_v1" version="5">
<interface name="zwlr_layer_shell_v1" version="6">
<description summary="create surfaces that are layers of the desktop">
Clients can use this interface to assign the surface_layer role to
wl_surfaces. Such surfaces are assigned to a "layer" of the output and
@ -368,6 +368,7 @@
<entry name="invalid_anchor" value="2" summary="anchor bitfield is invalid"/>
<entry name="invalid_keyboard_interactivity" value="3" summary="keyboard interactivity is invalid"/>
<entry name="invalid_exclusive_edge" value="4" summary="exclusive edge is invalid given the surface anchors"/>
<entry name="invalid_layer" value="5" since="6" summary="layer value is invalid"/>
</enum>
<enum name="anchor" bitfield="true">