diff options
| author | Manolo Gouy <Manolo> | 2015-12-07 20:10:07 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2015-12-07 20:10:07 +0000 |
| commit | ade095f240676888176ba6fb3a4f1c21fd3bc2ab (patch) | |
| tree | dc404f871466d45a49d27c81a642e4471a45208d | |
| parent | caba454f3957e2ea28dc2a477fa6e8915d64f35b (diff) | |
Mac OS: added visibility test necessary after a subwindow-containing group was hidden.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10951 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -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 91e8a0ddc..4f58bc03a 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -735,7 +735,7 @@ void Fl::remove_timeout(Fl_Timeout_Handler cb, void* data) if (!NSEqualRects(rp, [self frame])) { [self setFrame:rp display:YES]; } - if (![self parentWindow]) { + if (w->visible_r() && ![self parentWindow]) { [pxid addChildWindow:self ordered:NSWindowAbove]; // needs OS X 10.2 [self orderWindow:NSWindowAbove relativeTo:[pxid windowNumber]]; // necessary under 10.3 } |
