From 166444f115373765b6815dcdc10e721a18b42244 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Fri, 11 Mar 2022 22:36:26 -0800 Subject: [PATCH] macos: exclude popups from window list This probably only matters if you do window list integration for the global menu on macOS. --- gdk/macos/gdkmacospopupsurface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/macos/gdkmacospopupsurface.c b/gdk/macos/gdkmacospopupsurface.c index 797fe872da..061af9d85d 100644 --- 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, -- 2.30.2