Author: manolo
Date: 2012-06-13 03:54:11 -0700 (Wed, 13 Jun 2012)
New Revision: 9593
Log:
Mac OS: improved behavior when unhiding an application with minimized windows.

Modified:
   branches/branch-3.0/src/fltk3/cocoa.mm

Modified: branches/branch-3.0/src/fltk3/cocoa.mm
===================================================================
--- branches/branch-3.0/src/fltk3/cocoa.mm      2012-06-13 10:46:53 UTC (rev 
9592)
+++ branches/branch-3.0/src/fltk3/cocoa.mm      2012-06-13 10:54:11 UTC (rev 
9593)
@@ -421,7 +421,7 @@
 }
 
 /*
- * Check if there is actually a message pending!
+ * Check if there is actually a message pending
  */
 int fl_ready()
 {
@@ -1121,7 +1121,7 @@
   Fl_X *x;
   for (x = Fl_X::first;x;x = x->next) {
     fltk3::Window *w = x->w;
-    if ( !w->parent() ) {
+    if ( !w->parent() && ![x->xid isMiniaturized] ) {
       fltk3::handle( fltk3::SHOW, w);
       }
   }

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to