diff options
author | Christian Hergert <christian@hergert.me> | 2022-03-11 18:01:05 -0800 |
---|---|---|
committer | Christian Hergert <chergert@redhat.com> | 2022-03-16 12:25:10 -0700 |
commit | 36730537cc9de22f712829b8ed10b8efc57c8be5 (patch) | |
tree | 9e3ff9ec570fa9b167d6b55530fd752b51cf960f | |
parent | 9456f6eea1bbdb3ce847c97e9ba7cb67c1aa526f (diff) | |
download | gtk+-36730537cc9de22f712829b8ed10b8efc57c8be5.tar.gz |
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.
-rw-r--r-- | gdk/macos/gdkmacospopupsurface.c | 6 |
1 files changed, 0 insertions, 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, |