Merge branch 'wip/Jehan/gimp-issue-10515-crash-wayland' into 'gtk-3-24'
gdk: fix crash on Wayland with already destroyed surface. See merge request GNOME/gtk!8016
This commit is contained in:
@ -1174,6 +1174,9 @@ data_device_enter (void *data,
|
||||
GdkWindow *dest_window, *dnd_owner;
|
||||
GdkAtom selection;
|
||||
|
||||
if (!surface)
|
||||
return;
|
||||
|
||||
dest_window = wl_surface_get_user_data (surface);
|
||||
|
||||
if (!GDK_IS_WINDOW (dest_window))
|
||||
|
||||
Reference in New Issue
Block a user