protocol: add wl_compositor destructor

Signed-off-by: Julian Orth <ju.orth@gmail.com>
This commit is contained in:
Julian Orth 2026-01-27 14:16:41 +01:00
parent ea01803569
commit 6e248361cf

View file

@ -190,7 +190,7 @@
</event> </event>
</interface> </interface>
<interface name="wl_compositor" version="6"> <interface name="wl_compositor" version="7">
<description summary="the compositor singleton"> <description summary="the compositor singleton">
A compositor. This object is a singleton global. The A compositor. This object is a singleton global. The
compositor is in charge of combining the contents of multiple compositor is in charge of combining the contents of multiple
@ -210,6 +210,14 @@
</description> </description>
<arg name="id" type="new_id" interface="wl_region" summary="the new region"/> <arg name="id" type="new_id" interface="wl_region" summary="the new region"/>
</request> </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>
<interface name="wl_shm_pool" version="2"> <interface name="wl_shm_pool" version="2">
@ -1415,7 +1423,7 @@
</event> </event>
</interface> </interface>
<interface name="wl_surface" version="6"> <interface name="wl_surface" version="7">
<description summary="an onscreen surface"> <description summary="an onscreen surface">
A surface is a rectangular area that may be displayed on zero 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 or more outputs, and shown any number of times at the compositor's
@ -3049,7 +3057,7 @@
</event> </event>
</interface> </interface>
<interface name="wl_region" version="6"> <interface name="wl_region" version="7">
<description summary="region interface"> <description summary="region interface">
A region object describes an area. A region object describes an area.