[gtk/matthiasc/for-master: 34/34] x11: Fix a crash in event handling



commit a0eb7f81c062f35dc6a30d3d90f55b9ea0ab3c36
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Feb 22 11:26:51 2020 -0500

    x11: Fix a crash in event handling
    
    This was overlooked in 79b4510c6d687c.

 gdk/x11/gdkdisplay-x11.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c
index a0f3e83302..a4c37c11ab 100644
--- a/gdk/x11/gdkdisplay-x11.c
+++ b/gdk/x11/gdkdisplay-x11.c
@@ -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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]