|
|
commit e73ee9b48bb49d1f10bc3a9e1ca47a114f2d7c1d
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Fri Oct 29 10:14:34 2021 +0200
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Fri Oct 29 10:14:53 2021 +0200
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 src/Fl_cocoa.mm src/Fl_cocoa.mm
index be07b09..444486a 100644
--- src/Fl_cocoa.mm
+++ 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];
}
[ Direct Link to Message ] | |
|
| |