aboutsummaryrefslogtreecommitdiffstats
path: root/protocol
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-06-14 10:35:46 +0200
committerKristian Høgsberg <krh@bitplanet.net>2011-06-20 11:56:22 -0400
commitaae9f214e5f0d8d1deac4816fe40f76b2cf84f55 (patch)
tree295ce80b1dc89887f4b1b778454b46fd9f435892 /protocol
parentDo not leak globals and listeners. (diff)
downloadwayland-aae9f214e5f0d8d1deac4816fe40f76b2cf84f55.tar
wayland-aae9f214e5f0d8d1deac4816fe40f76b2cf84f55.tar.gz
wayland-aae9f214e5f0d8d1deac4816fe40f76b2cf84f55.tar.bz2
wayland-aae9f214e5f0d8d1deac4816fe40f76b2cf84f55.tar.lz
wayland-aae9f214e5f0d8d1deac4816fe40f76b2cf84f55.tar.xz
wayland-aae9f214e5f0d8d1deac4816fe40f76b2cf84f55.tar.zst
wayland-aae9f214e5f0d8d1deac4816fe40f76b2cf84f55.zip
Add wl_display_remove_global.
Change 4453ba084aae5a00318b9dfdeda95e8eaa17494c disallows using post_global with objects not on the global list. Therefore selection and drag offers have to be added to the global list from now on. However these may often get replaced by a newer object and thus need a way to remove a global from the global list.
Diffstat (limited to 'protocol')
-rw-r--r--protocol/wayland.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index ad350723..bf214259 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -53,6 +53,11 @@
<arg name="version" type="uint"/>
</event>
+ <!-- Notify the client of removed global objects. -->
+ <event name="global_remove">
+ <arg name="id" type="uint" />
+ </event>
+
<!-- Internal, deprecated, and will be changed. This is an object
IDs range that is used by the client to allocate object IDs
in "new_id" type arguments. The server sends range