x11: Fix a crash in event handling

This was overlooked in 79b4510c6d.
This commit is contained in:
Matthias Clasen 2020-02-22 16:41:29 +00:00
parent be25905a8d
commit 1af94d0bce

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)