Skip to content

Commit

Permalink
Remove call to Fl_Group::init_sizes() because it's expected from the …
Browse files Browse the repository at this point in the history
…caller.
  • Loading branch information
ManoloFLTK committed May 4, 2019
1 parent ef355e2 commit 38cf195
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Fl_cocoa.mm
Original file line number Diff line number Diff line change
Expand Up @@ -1251,10 +1251,7 @@ - (void)windowDidMove:(NSNotification *)notif
// 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();
Expand Down

0 comments on commit 38cf195

Please sign in to comment.