data-control-v1: update protocol to allow NULL selections

This commit is contained in:
emersion 2018-12-12 10:01:27 +01:00
parent 1e581ad95c
commit 4423630687
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -82,7 +82,8 @@
All objects created by the manager will still remain valid, until their All objects created by the manager will still remain valid, until their
appropriate destroy request has been called. appropriate destroy request has been called.
</description> </description>
<arg name="source" type="object" interface="zwlr_data_control_source_v1"/> <arg name="source" type="object" interface="zwlr_data_control_source_v1"
allow-null="true"/>
</request> </request>
<request name="destroy" type="destructor"> <request name="destroy" type="destructor">
@ -117,7 +118,8 @@
previous selection wlr_data_control_offer, if any, upon receiving this previous selection wlr_data_control_offer, if any, upon receiving this
event. event.
</description> </description>
<arg name="id" type="object" interface="zwlr_data_control_offer_v1"/> <arg name="id" type="object" interface="zwlr_data_control_offer_v1"
allow-null="true"/>
</event> </event>
<event name="finished"> <event name="finished">