mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 22:10:08 +00:00
macos: exclude popups from window list
This probably only matters if you do window list integration for the global menu on macOS.
This commit is contained in:
parent
3cd68c5de5
commit
166444f115
@ -346,7 +346,7 @@ _gdk_macos_popup_surface_new (GdkMacosDisplay *display,
|
|||||||
[window setOpaque:NO];
|
[window setOpaque:NO];
|
||||||
[window setBackgroundColor:[NSColor clearColor]];
|
[window setBackgroundColor:[NSColor clearColor]];
|
||||||
[window setDecorated:NO];
|
[window setDecorated:NO];
|
||||||
|
[window setExcludedFromWindowsMenu:YES];
|
||||||
[window setLevel:NSPopUpMenuWindowLevel];
|
[window setLevel:NSPopUpMenuWindowLevel];
|
||||||
|
|
||||||
self = g_object_new (GDK_TYPE_MACOS_POPUP_SURFACE,
|
self = g_object_new (GDK_TYPE_MACOS_POPUP_SURFACE,
|
||||||
|
Loading…
Reference in New Issue
Block a user