xdg-shell: rename the xdg_surface.delete event to close.
authorGiulio Camuffo <giuliocamuffo@gmail.com>
Mon, 24 Mar 2014 12:13:22 +0000 (14:13 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 1 Apr 2014 23:46:41 +0000 (16:46 -0700)
'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>
protocol/xdg-shell.xml

index a2913c4..79a2831 100644 (file)
       </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...