maximize method for Fl_Window (macOS) (#820) - cont'd

This commit is contained in:
ManoloFLTK 2023-11-06 00:05:18 +01:00
parent e690e76da1
commit 6a607c8282

View File

@ -1351,7 +1351,7 @@ static FLWindowDelegate *flwindowdelegate_instance = nil;
window->redraw();
}
#endif
if (!window->parent()) {
if (!window->parent() && window->border()) {
Fl_Cocoa_Window_Driver::driver(window)->is_maximized([nsw isZoomed]);
}
fl_unlock_function();