From e73ee9b48bb49d1f10bc3a9e1ca47a114f2d7c1d Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 29 Oct 2021 10:14:34 +0200 Subject: [PATCH] macOS: fix fullscreen window when other windows were created before. Backported from branch 1.4 --- src/Fl_cocoa.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index be07b09fb..444486ac3 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -3304,7 +3304,7 @@ void Fl_X::make(Fl_Window* w) [cw center]; } else if (w->non_modal()) { [cw center]; - } else { + } else if (!w->fullscreen_active()) { static NSPoint delta = NSZeroPoint; delta = [cw cascadeTopLeftFromPoint:delta]; }