[gtk/wip/chergert/for-main] macos: exclude popups from window list
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/for-main] macos: exclude popups from window list
- Date: Sat, 12 Mar 2022 06:55:44 +0000 (UTC)
commit 166444f115373765b6815dcdc10e721a18b42244
Author: Christian Hergert <christian hergert me>
Date: Fri Mar 11 22:36:26 2022 -0800
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]