projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccbaa02
)
macos: exclude popups from window list
author
Christian Hergert
<christian@hergert.me>
Sat, 12 Mar 2022 06:36:26 +0000
(22:36 -0800)
committer
Christian Hergert
<chergert@redhat.com>
Wed, 16 Mar 2022 19:25:10 +0000
(12:25 -0700)
This probably only matters if you do window list integration for the global
menu on macOS.
gdk/macos/gdkmacospopupsurface.c
patch
|
blob
|
history
diff --git
a/gdk/macos/gdkmacospopupsurface.c
b/gdk/macos/gdkmacospopupsurface.c
index 797fe872da08bba5efcf1ab07078090003f5dda4..061af9d85df66f02a376030d615414c4af7c0159 100644
(file)
--- a/
gdk/macos/gdkmacospopupsurface.c
+++ b/
gdk/macos/gdkmacospopupsurface.c
@@
-346,7
+346,7
@@
_gdk_macos_popup_surface_new (GdkMacosDisplay *display,
[window setOpaque:NO];
[window setBackgroundColor:[NSColor clearColor]];
[window setDecorated:NO];
-
+ [window setExcludedFromWindowsMenu:YES];
[window setLevel:NSPopUpMenuWindowLevel];
self = g_object_new (GDK_TYPE_MACOS_POPUP_SURFACE,