macOS: fix fullscreen window when other windows were created before.

Backported from branch 1.4
This commit is contained in:
ManoloFLTK 2021-10-29 10:14:34 +02:00
parent 4aebde8913
commit e73ee9b48b

View File

@ -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];
}