[gtk/wip/chergert/quartz4u] macos: disable using PopUp window level



commit acbabb931139476f8a396a4e28cba287c91312c0
Author: Christian Hergert <chergert redhat com>
Date:   Tue May 12 14:38:26 2020 -0700

    macos: disable using PopUp window level
    
    We can't rely on this until we have another way to iterate sorted windows.

 gdk/macos/gdkmacospopupsurface.c | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/gdk/macos/gdkmacospopupsurface.c b/gdk/macos/gdkmacospopupsurface.c
index 073e2d36f6..fc3d5598a2 100644
--- a/gdk/macos/gdkmacospopupsurface.c
+++ b/gdk/macos/gdkmacospopupsurface.c
@@ -287,7 +287,14 @@ _gdk_macos_popup_surface_new (GdkMacosDisplay *display,
 
   [window setOpaque:NO];
   [window setBackgroundColor:[NSColor clearColor]];
+
+#if 0
+  /* NOTE: We could set these to be popup level, but then
+   * [NSApp orderedWindows] would not give us the windows
+   * back with the stacking order applied.
+   */
   [window setLevel:NSPopUpMenuWindowLevel];
+#endif
 
   self = g_object_new (GDK_TYPE_MACOS_POPUP_SURFACE,
                        "display", display,


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