Mac OS: improved behavior when unhiding an application with minimized windows.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9592 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2012-06-13 10:46:53 +00:00
parent 1e9a7ae21d
commit f656c0627c

View File

@ -1143,7 +1143,7 @@ void fl_open_callback(void (*cb)(const char *)) {
Fl_X *x;
for (x = Fl_X::first;x;x = x->next) {
Fl_Window *w = x->w;
if ( !w->parent() ) {
if ( !w->parent() && ![x->xid isMiniaturized]) {
Fl::handle( FL_SHOW, w);
}
}