wayland: The xdg_surface.delete event was renamed to close

This commit is contained in:
Jasper St. Pierre 2014-04-17 13:14:44 -04:00
parent 42ee237691
commit e4e75a94f5
2 changed files with 5 additions and 5 deletions

View File

@ -860,8 +860,8 @@ xdg_surface_deactivated (void *data,
}
static void
xdg_surface_delete (void *data,
struct xdg_surface *xdg_surface)
xdg_surface_close (void *data,
struct xdg_surface *xdg_surface)
{
GdkWindow *window = GDK_WINDOW (data);
GdkDisplay *display;
@ -882,7 +882,7 @@ static const struct xdg_surface_listener xdg_surface_listener = {
xdg_surface_change_state,
xdg_surface_activated,
xdg_surface_deactivated,
xdg_surface_delete,
xdg_surface_close,
};
static void

View File

@ -381,9 +381,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...