[neon/backports-resolute/wayland-resolute/Neon/release] protocol: protocol: clarify wl_display.delete_id

Simon Ser null at kde.org
Sat Aug 22 05:58:19 BST 2026


Git commit a8972e89f311085eb5fefb06d8e5e2fc2617aa2d by Simon Ser, on behalf of Julian Orth.
Committed on 03/07/2026 at 07:57.
Pushed by carlosdem into branch 'Neon/release'.

protocol: clarify wl_display.delete_id

The previous description talked about what happens when "a client
deletes an object that it had created", ignoring the possibility of
destructor events.

This commit clarifies the intended behavior of delete_id. It does not
speak to the possibility of delete_id without a destructor message.

Signed-off-by: Julian Orth <ju.orth at gmail.com>

M  +9    -5    protocol/wayland.xml

https://invent.kde.org/neon/backports-resolute/wayland-resolute/-/commit/a8972e89f311085eb5fefb06d8e5e2fc2617aa2d

diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index eb04987..f60101e 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -100,11 +100,15 @@
 
     <event name="delete_id">
       <description summary="acknowledge object ID deletion">
-        This event is used internally by the object ID management
-        logic. When a client deletes an object that it had created,
-        the server will send this event to acknowledge that it has
-        seen the delete request. When the client receives this event,
-        it will know that it can safely reuse the object ID.
+        This event is used internally by the object ID management logic.
+
+        When the server stops using an object created by the client, the server
+        sends this event. In particular, after sending this event, the server
+        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>
       <arg name="id" type="uint" summary="deleted object ID"/>
     </event>



More information about the Neon-commits mailing list