aboutsummaryrefslogtreecommitdiffstats
path: root/protocol
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2011-11-15 22:20:28 -0500
committerKristian Høgsberg <krh@bitplanet.net>2011-11-17 17:37:52 -0500
commit3a1e6df39aa34df53c97ce9c7a1bfddf5a97faf3 (patch)
tree5c103308f52da243bf3cb831ef26736bb760f887 /protocol
parentutil: Add wl_list_insert_list() (diff)
downloadwayland-3a1e6df39aa34df53c97ce9c7a1bfddf5a97faf3.tar
wayland-3a1e6df39aa34df53c97ce9c7a1bfddf5a97faf3.tar.gz
wayland-3a1e6df39aa34df53c97ce9c7a1bfddf5a97faf3.tar.bz2
wayland-3a1e6df39aa34df53c97ce9c7a1bfddf5a97faf3.tar.lz
wayland-3a1e6df39aa34df53c97ce9c7a1bfddf5a97faf3.tar.xz
wayland-3a1e6df39aa34df53c97ce9c7a1bfddf5a97faf3.tar.zst
wayland-3a1e6df39aa34df53c97ce9c7a1bfddf5a97faf3.zip
Add display event to acknowledge ID deletion
We need to make sure the client doesn't reuse an object ID until the server has seen the destroy request. When a client destroys an ID the server will now respond with the display.delete_id event, which lets the client block reuse until it receives the event.
Diffstat (limited to 'protocol')
-rw-r--r--protocol/wayland.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index 48ba68a..7e6392a 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -76,6 +76,10 @@
<arg name="name" type="uint" />
</event>
+ <!-- Server has deleted the id and client can now reuse it. -->
+ <event name="delete_id">
+ <arg name="id" type="uint" />
+ </event>
</interface>
<interface name="wl_callback" version="1">