summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authori509VCB <git@i509.me>2022-11-05 22:56:42 -0500
committeri509VCB <git@i509.me>2022-11-05 23:09:59 -0500
commit6d068c17080772021480a276e8f26f814003517d (patch)
treecbb5337345631aa2c0f8a2050057aff2171d4f2d
parentc3e3d21a9f389aa7d50a905f23ac1c018954ed3a (diff)
downloadwayland-protocols-6d068c17080772021480a276e8f26f814003517d.tar.gz
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>
-rw-r--r--staging/content-type/content-type-v1.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/staging/content-type/content-type-v1.xml b/staging/content-type/content-type-v1.xml
index d06c11f..2624aa1 100644
--- a/staging/content-type/content-type-v1.xml
+++ b/staging/content-type/content-type-v1.xml
@@ -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>