Remove call to Fl_Group::init_sizes() because it's expected from the caller.

This commit is contained in:
ManoloFLTK 2019-05-04 13:25:28 +02:00
parent ef355e2762
commit 38cf195727
1 changed files with 1 additions and 4 deletions

View File

@ -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();