Merge branch 'jorth/delete-id' into 'main'

protocol: clarify wl_display.delete_id

See merge request wayland/wayland!535
This commit is contained in:
Julian Orth 2026-03-30 10:44:19 +02:00
commit 80090fa78d

View file

@ -100,11 +100,15 @@
<event name="delete_id"> <event name="delete_id">
<description summary="acknowledge object ID deletion"> <description summary="acknowledge object ID deletion">
This event is used internally by the object ID management This event is used internally by the object ID management logic.
logic. When a client deletes an object that it had created,
the server will send this event to acknowledge that it has When the server stops using an object created by the client, the server
seen the delete request. When the client receives this event, sends this event. In particular, after sending this event, the server
it will know that it can safely reuse the object ID. will no longer send any events that contain the object as the receiver
or as an argument.
When the client receives this event, it knows that it can reuse the
object ID.
</description> </description>
<arg name="id" type="uint" summary="deleted object ID"/> <arg name="id" type="uint" summary="deleted object ID"/>
</event> </event>