mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
wayland: The xdg_surface.delete event was renamed to close
This commit is contained in:
parent
42ee237691
commit
e4e75a94f5
@ -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
|
||||
|
@ -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...
|
||||
|
Loading…
Reference in New Issue
Block a user