Merge branch 'jorth/missing-release' into 'main'

protocol: add missing destructors

See merge request wayland/wayland!513
This commit is contained in:
Julian Orth 2026-02-02 23:02:06 +01:00
commit 7d14a9862a

View file

@ -190,7 +190,7 @@
</event>
</interface>
<interface name="wl_compositor" version="6">
<interface name="wl_compositor" version="7">
<description summary="the compositor singleton">
A compositor. This object is a singleton global. The
compositor is in charge of combining the contents of multiple
@ -210,6 +210,14 @@
</description>
<arg name="id" type="new_id" interface="wl_region" summary="the new region"/>
</request>
<!-- Version 7 additions -->
<request name="release" type="destructor" since="7">
<description summary="destroy wl_compositor">
This request destroys the wl_compositor. This has no effect on any other objects.
</description>
</request>
</interface>
<interface name="wl_shm_pool" version="2">
@ -538,7 +546,7 @@
</event>
</interface>
<interface name="wl_data_offer" version="3">
<interface name="wl_data_offer" version="4">
<description summary="offer to transfer data">
A wl_data_offer represents a piece of data offered for transfer
by another client (the source client). It is used by the
@ -731,7 +739,7 @@
</event>
</interface>
<interface name="wl_data_source" version="3">
<interface name="wl_data_source" version="4">
<description summary="offer to transfer data">
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
@ -886,7 +894,7 @@
</event>
</interface>
<interface name="wl_data_device" version="3">
<interface name="wl_data_device" version="4">
<description summary="data transfer device">
There is one wl_data_device per seat which can be obtained
from the global wl_data_device_manager singleton.
@ -1047,7 +1055,7 @@
</request>
</interface>
<interface name="wl_data_device_manager" version="3">
<interface name="wl_data_device_manager" version="4">
<description summary="data transfer interface">
The wl_data_device_manager is a singleton global object that
provides access to inter-client data transfer mechanisms such as
@ -1109,6 +1117,15 @@
<entry name="move" value="2" summary="move action"/>
<entry name="ask" value="4" summary="ask action"/>
</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 name="wl_shell" version="1">
@ -1415,7 +1432,7 @@
</event>
</interface>
<interface name="wl_surface" version="6">
<interface name="wl_surface" version="7">
<description summary="an onscreen surface">
A surface is a rectangular area that may be displayed on zero
or more outputs, and shown any number of times at the compositor's
@ -3049,7 +3066,7 @@
</event>
</interface>
<interface name="wl_region" version="1">
<interface name="wl_region" version="7">
<description summary="region interface">
A region object describes an area.