mirror of
https://github.com/fltk/fltk.git
synced 2026-05-23 15:56:10 +08:00
macOS: fix fullscreen window when other windows were created before.
Backported from branch 1.4
This commit is contained in:
+1
-1
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user