From: Christian Hergert Date: Sat, 12 Mar 2022 06:36:26 +0000 (-0800) Subject: macos: exclude popups from window list X-Git-Tag: archive/raspbian/4.6.5+ds-1+rpi1~1^2~19^2~3^2~7^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=73d5f7061b3021ccf0c66807ed33630b4fc6ac2e;p=gtk4.git macos: exclude popups from window list This probably only matters if you do window list integration for the global menu on macOS. --- 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,