diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c index a9aae3540..2a2830fe0 100644 --- a/src/wayland/meta-wayland-surface.c +++ b/src/wayland/meta-wayland-surface.c @@ -1819,7 +1819,7 @@ void meta_wayland_surface_delete (MetaWaylandSurface *surface) { if (surface->xdg_surface.resource) - xdg_surface_send_delete (surface->xdg_surface.resource); + xdg_surface_send_close (surface->xdg_surface.resource); } void diff --git a/src/wayland/protocol/xdg-shell.xml b/src/wayland/protocol/xdg-shell.xml index a2913c4c0..79a283173 100644 --- a/src/wayland/protocol/xdg-shell.xml +++ b/src/wayland/protocol/xdg-shell.xml @@ -384,9 +384,9 @@ - + - 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...