From 483729f4f8f00b099611b1513e3c37da19da9bee Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 11 Mar 2024 15:18:59 +0100 Subject: macOS: Fullscreen window loses sys menu bar if 2nd window is opened (#924) --- src/Fl_MacOS_Sys_Menu_Bar.mm | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/Fl_MacOS_Sys_Menu_Bar.mm') 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(); } -- cgit v1.2.3