diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-11-06 00:05:18 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-11-06 00:05:18 +0100 |
| commit | 6a607c8282f8c59e82405b09302939b4152e87ae (patch) | |
| tree | f46b2cdcf764bc17a2608bfdeccb3ab2dc9c9058 /src | |
| parent | e690e76da1555e61bd6bde89d00215b11352f8b2 (diff) | |
maximize method for Fl_Window (macOS) (#820) - cont'd
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_cocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 7f3eb9117..9e51a6efa 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -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(); |
