Commit 8a023688 authored by Kristian Høgsberg's avatar Kristian Høgsberg
Browse files

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.
parent 11db60fe
......@@ -342,7 +342,7 @@
<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"/>
......@@ -635,7 +635,7 @@
corner, relative to the old buffers upper left corner.
<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="y" type="int"/>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment