summaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-10-08 13:21:55 -0400
committerKristian Høgsberg <krh@bitplanet.net>2012-10-10 20:59:00 -0400
commit85a6a470873357089ffb968a176d5074fddd1756 (patch)
treea477c978049cc712777a4aa7b4fa8c6a50626202 /protocol
parent385fe30e8b144a968aa88c6546c2ef247771b3d7 (diff)
scanner: Send interface name and version for types new_id args
This makes the scanner generate the code and meta data to send the interface name and version when we pass a typeless new_id. This way, the generic factory mechanism provided by wl_display.bind can be provided by any interface.
Diffstat (limited to 'protocol')
-rw-r--r--protocol/wayland.xml6
1 files changed, 2 insertions, 4 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index efd71dd..a485b42 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -38,9 +38,7 @@
the identifier.
</description>
<arg name="name" type="uint" summary="unique number id for object"/>
- <arg name="interface" type="string"/>
- <arg name="version" type="uint"/>
- <arg name="id" type="new_id" interface="wl_object"/>
+ <arg name="id" type="new_id"/>
</request>
<request name="sync">
@@ -58,7 +56,7 @@
The error event is sent out when a fatal (non-recoverable)
error has occurred.
</description>
- <arg name="object_id" type="object" interface="wl_object"/>
+ <arg name="object_id" type="object"/>
<arg name="code" type="uint"/>
<arg name="message" type="string"/>
</event>