[gtk/wip/chergert/for-main] macos: fix window level for popups
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/for-main] macos: fix window level for popups
- Date: Sat, 12 Mar 2022 02:20:03 +0000 (UTC)
commit c3a7d79154e590fb0435888cef45b90c42d6e202
Author: Christian Hergert <christian hergert me>
Date: Fri Mar 11 18:01:05 2022 -0800
macos: fix window level for popups
This comment isn't really accurate anymore it seems, so we can start
setting the proper stacking order for popups now.
gdk/macos/gdkmacospopupsurface.c | 6 ------
1 file changed, 6 deletions(-)
---
diff --git a/gdk/macos/gdkmacospopupsurface.c b/gdk/macos/gdkmacospopupsurface.c
index d489c671ed..797fe872da 100644
--- a/gdk/macos/gdkmacospopupsurface.c
+++ b/gdk/macos/gdkmacospopupsurface.c
@@ -347,13 +347,7 @@ _gdk_macos_popup_surface_new (GdkMacosDisplay *display,
[window setBackgroundColor:[NSColor clearColor]];
[window setDecorated:NO];
-#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]