protocol: add wl_data_device_manager destructors

Signed-off-by: Julian Orth <ju.orth@gmail.com>
This commit is contained in:
Julian Orth 2026-01-23 15:20:12 +01:00
parent 6e248361cf
commit 3a3b388ddf

View file

@ -546,7 +546,7 @@
</event> </event>
</interface> </interface>
<interface name="wl_data_offer" version="3"> <interface name="wl_data_offer" version="4">
<description summary="offer to transfer data"> <description summary="offer to transfer data">
A wl_data_offer represents a piece of data offered for transfer A wl_data_offer represents a piece of data offered for transfer
by another client (the source client). It is used by the by another client (the source client). It is used by the
@ -739,7 +739,7 @@
</event> </event>
</interface> </interface>
<interface name="wl_data_source" version="3"> <interface name="wl_data_source" version="4">
<description summary="offer to transfer data"> <description summary="offer to transfer data">
The wl_data_source object is the source side of a wl_data_offer. The wl_data_source object is the source side of a wl_data_offer.
It is created by the source client in a data transfer and It is created by the source client in a data transfer and
@ -894,7 +894,7 @@
</event> </event>
</interface> </interface>
<interface name="wl_data_device" version="3"> <interface name="wl_data_device" version="4">
<description summary="data transfer device"> <description summary="data transfer device">
There is one wl_data_device per seat which can be obtained There is one wl_data_device per seat which can be obtained
from the global wl_data_device_manager singleton. from the global wl_data_device_manager singleton.
@ -1055,7 +1055,7 @@
</request> </request>
</interface> </interface>
<interface name="wl_data_device_manager" version="3"> <interface name="wl_data_device_manager" version="4">
<description summary="data transfer interface"> <description summary="data transfer interface">
The wl_data_device_manager is a singleton global object that The wl_data_device_manager is a singleton global object that
provides access to inter-client data transfer mechanisms such as provides access to inter-client data transfer mechanisms such as
@ -1117,6 +1117,15 @@
<entry name="move" value="2" summary="move action"/> <entry name="move" value="2" summary="move action"/>
<entry name="ask" value="4" summary="ask action"/> <entry name="ask" value="4" summary="ask action"/>
</enum> </enum>
<!-- Version 4 additions -->
<request name="release" type="destructor" since="4">
<description summary="destroy wl_data_device_manager">
This request destroys the wl_data_device_manager. This has no effect on any other
objects.
</description>
</request>
</interface> </interface>
<interface name="wl_shell" version="1"> <interface name="wl_shell" version="1">