projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2562408
)
macos: fix window level for popups
author
Christian Hergert
<christian@hergert.me>
Sat, 12 Mar 2022 02:01:05 +0000
(18:01 -0800)
committer
Christian Hergert
<christian@hergert.me>
Sat, 12 Mar 2022 02:01:05 +0000
(18:01 -0800)
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
patch
|
blob
|
history
diff --git
a/gdk/macos/gdkmacospopupsurface.c
b/gdk/macos/gdkmacospopupsurface.c
index d489c671eda24ffab5a4a960bff3642e1ce87e6c..797fe872da08bba5efcf1ab07078090003f5dda4 100644
(file)
--- 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,