diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-03-11 15:18:59 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-03-11 15:18:59 +0100 |
| commit | 483729f4f8f00b099611b1513e3c37da19da9bee (patch) | |
| tree | 098490fb905d423df0fc4e45be690e0c8e8947e5 /src/Fl_MacOS_Sys_Menu_Bar.mm | |
| parent | 20e8da9dfd9bd10a6531369b1f675a2f7de0a2e5 (diff) | |
macOS: Fullscreen window loses sys menu bar if 2nd window is opened (#924)
Diffstat (limited to 'src/Fl_MacOS_Sys_Menu_Bar.mm')
| -rw-r--r-- | src/Fl_MacOS_Sys_Menu_Bar.mm | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Fl_MacOS_Sys_Menu_Bar.mm b/src/Fl_MacOS_Sys_Menu_Bar.mm index 1caabcaaa..1240dc837 100644 --- a/src/Fl_MacOS_Sys_Menu_Bar.mm +++ b/src/Fl_MacOS_Sys_Menu_Bar.mm @@ -569,8 +569,6 @@ static void minimize_win_cb(Fl_Widget *, void *data) static void window_menu_cb(Fl_Widget *, void *data) { - Fl_Window *top = Fl::first_window(); - if (top && top->fullscreen_active()) return; if (data) ((Fl_Window*)data)->show(); } |
