Add wl_display_remove_global.

Change 4453ba084a 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.
This commit is contained in:
Laszlo Agocs 2011-06-14 10:35:46 +02:00 committed by Kristian Høgsberg
parent 9c36ea776b
commit aae9f214e5
4 changed files with 54 additions and 0 deletions

View file

@ -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