xdg-shell: rename the xdg_surface.delete event to close.

'close' is more consistent with the purpose of the event than
'delete', and it is also c++ friendly, since 'delete' is a keyword.

Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
This commit is contained in:
Giulio Camuffo 2014-03-24 14:13:22 +02:00 committed by Kristian Høgsberg
parent a093502891
commit 0ea14f51e5

View File

@ -384,9 +384,9 @@
</description>
</event>
<event name="delete">
<event name="close">
<description summary="surface wants to be closed">
The delete event is sent by the compositor when the user
The close event is sent by the compositor when the user
wants the surface to be closed. This should be equivalent to
the user clicking the close button in client-side decorations,
if your application has any...