diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2019-05-04 13:25:28 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2019-05-04 13:25:28 +0200 |
| commit | 38cf195727822fc873c6b08374b04504e7e362ab (patch) | |
| tree | 584a5b77312cc21ffc77ec1c32c8add52ed42839 | |
| parent | ef355e27622248bf4210b209531dc273c379c539 (diff) | |
Remove call to Fl_Group::init_sizes() because it's expected from the caller.
| -rw-r--r-- | src/Fl_cocoa.mm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 6d62f5289..1c4aef517 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -1251,10 +1251,7 @@ static FLWindowDelegate *flwindowdelegate_instance = nil; // at least since MacOS 10.9: OS moves subwindows contained in a moved window // setSubwindowFrame is no longer necessary. if (fl_mac_os_version < 100900) [nsw recursivelySendToSubwindows:@selector(setSubwindowFrame) applyToSelf:NO]; - if (window->parent()) { - [nsw recursivelySendToSubwindows:@selector(checkSubwindowFrame) applyToSelf:YES]; - window->parent()->init_sizes(); - } + if (window->parent()) [nsw recursivelySendToSubwindows:@selector(checkSubwindowFrame) applyToSelf:YES]; starting_moved_window = NULL; } fl_unlock_function(); |
