forked from AuroraMiddleware/gtk
Merge branch 'applaunch-warning' into 'master'
x11: Ignore stray DestroyNotify events Closes #3006 See merge request GNOME/gtk!2355
This commit is contained in:
commit
9659d3f78a
@ -795,7 +795,8 @@ gdk_x11_display_translate_event (GdkEventTranslator *translator,
|
||||
|
||||
if (!is_substructure)
|
||||
{
|
||||
event = gdk_delete_event_new (surface);
|
||||
if (surface)
|
||||
event = gdk_delete_event_new (surface);
|
||||
|
||||
if (surface && GDK_SURFACE_XID (surface) != x11_screen->xroot_window)
|
||||
gdk_surface_destroy_notify (surface);
|
||||
|
Loading…
Reference in New Issue
Block a user