Skip to content

Commit

Permalink
macos: exclude popups from window list
Browse files Browse the repository at this point in the history
This probably only matters if you do window list integration for the global
menu on macOS.
  • Loading branch information
chergert committed Mar 12, 2022
1 parent 3cd68c5 commit 166444f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdk/macos/gdkmacospopupsurface.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 166444f

Please sign in to comment.