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:
Christian Hergert 2022-03-11 22:36:26 -08:00
parent 3cd68c5de5
commit 166444f115

View File

@ -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,