[gtk/wip/chergert/quartz4u] macos: deliver event to windowing



commit c2df894b5e053b9a24a15c3642e0edb59829bc46
Author: Christian Hergert <chergert redhat com>
Date:   Mon May 18 18:07:24 2020 -0700

    macos: deliver event to windowing

 gdk/macos/GdkMacosWindow.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gdk/macos/GdkMacosWindow.c b/gdk/macos/GdkMacosWindow.c
index 64385c5173..0ddbd39a55 100644
--- a/gdk/macos/GdkMacosWindow.c
+++ b/gdk/macos/GdkMacosWindow.c
@@ -218,6 +218,7 @@
   GdkDisplay *display;
   GdkEvent *event;
   gboolean maximized;
+  GList *node;
 
   surface = GDK_SURFACE (gdk_surface);
   display = gdk_surface_get_display (surface);
@@ -245,7 +246,9 @@
   event = gdk_configure_event_new (surface,
                                    content_rect.size.width,
                                    content_rect.size.height);
-  _gdk_event_queue_append (display, event);
+  node = _gdk_event_queue_append (display, event);
+  _gdk_windowing_got_event (display, node, event,
+                            _gdk_display_get_next_serial (display));
 
   [self checkSendEnterNotify];
 }


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