content-type: fix enum name in wp_content_type_v1.set_content_type

This was originally set to `content_type`, but the protocol defines an enum named `type`. This fixes an issue with the protocol that was noticed when binding the protocol in wayland-rs.

Signed-off-by: i509VCB <git@i509.me>
This commit is contained in:
i509VCB 2022-11-05 22:56:42 -05:00
parent c3e3d21a9f
commit 6d068c1708
No known key found for this signature in database
GPG key ID: EE47F5EFC5EE8CDC

View file

@ -121,7 +121,7 @@
The content type is double-buffered state, see wl_surface.commit for
details.
</description>
<arg name="content_type" type="uint" enum="content_type"
<arg name="content_type" type="uint" enum="type"
summary="the content type"/>
</request>
</interface>