Skip to content

Commit

Permalink
Mac OS: Added necessary check because a non-FLTK window can be found
Browse files Browse the repository at this point in the history
as child of an FLTK window when turning a window full-screen.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10909 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Manolo Gouy authored and Manolo Gouy committed Nov 15, 2015
1 parent ba26f2c commit ebffeb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fl_cocoa.mm
Expand Up @@ -715,7 +715,7 @@ - (void)recursivelySendToSubwindows:(SEL)sel
NSEnumerator *enumerator = [[self childWindows] objectEnumerator];
id child;
while ((child = [enumerator nextObject]) != nil) {
[child recursivelySendToSubwindows:sel];
if ([child isKindOfClass:[FLWindow class]]) [child recursivelySendToSubwindows:sel];
}
}

Expand Down

0 comments on commit ebffeb8

Please sign in to comment.