Merge branch 'matthiasc/for-master' into 'master'

x11: Fix a crash in event handling

See merge request GNOME/gtk!1461
This commit is contained in:
Matthias Clasen 2020-02-22 16:41:29 +00:00
commit 011f58fa64

View File

@ -849,7 +849,7 @@ gdk_x11_display_translate_event (GdkEventTranslator *translator,
surface_impl->toplevel->frame_pending)
{
surface_impl->toplevel->frame_pending = FALSE;
gdk_surface_thaw_updates (event->any.surface);
gdk_surface_thaw_updates (surface);
}
if (toplevel)