protocol: clarify wl_display.delete_id description

libwayland-server only sends wl_display.delete_id events when
it responds to a client's destruction of a client-allocated
object. server-allocated objects are silently removed, as per
`wl_resource_destroy`.

Signed-off-by: Manuel Stoeckl <code@mstoeckl.com>
This commit is contained in:
Manuel Stoeckl 2019-07-05 19:42:16 -04:00
parent 678c8681e2
commit 6dbf9f72b6

View file

@ -101,10 +101,10 @@
<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. When a client deletes an object, the server will send logic. When a client deletes an object that it had created,
this event to acknowledge that it has seen the delete request. the server will send this event to acknowledge that it has
When the client receives this event, it will know that it can seen the delete request. When the client receives this event,
safely reuse the object ID. it will know that it can safely 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>