mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 06:21:14 +00:00
gdkwindow-wayland: Add a forgotten ref
This commit is contained in:
parent
0bbe2589f6
commit
b35820fa3c
@ -831,7 +831,7 @@ xdg_surface_close (void *data,
|
||||
GdkEvent *event;
|
||||
|
||||
event = gdk_event_new (GDK_DELETE);
|
||||
event->any.window = window;
|
||||
event->any.window = g_object_ref (window);
|
||||
event->any.send_event = TRUE;
|
||||
|
||||
display = gdk_window_get_display (window);
|
||||
|
Loading…
Reference in New Issue
Block a user