protocol: Add a couple of missing allow-null annotations

wl_data_device.set_selection() allows NULL to withdraw the previously set
selection and wl_surface.attach() allows a NULL buffer to hide the surface.
This commit is contained in:
Kristian Høgsberg 2012-07-02 14:34:48 -04:00
parent 11db60fe72
commit 8a023688c0

View file

@ -342,7 +342,7 @@
</request> </request>
<request name="set_selection"> <request name="set_selection">
<arg name="source" type="object" interface="wl_data_source"/> <arg name="source" type="object" interface="wl_data_source" allow-null="true"/>
<arg name="serial" type="uint"/> <arg name="serial" type="uint"/>
</request> </request>
@ -635,7 +635,7 @@
corner, relative to the old buffers upper left corner. corner, relative to the old buffers upper left corner.
</description> </description>
<arg name="buffer" type="object" interface="wl_buffer"/> <arg name="buffer" type="object" interface="wl_buffer" allow-null="true"/>
<arg name="x" type="int"/> <arg name="x" type="int"/>
<arg name="y" type="int"/> <arg name="y" type="int"/>
</request> </request>