Author: mike
Date: 2007-11-20 09:00:56 -0800 (Tue, 20 Nov 2007)
New Revision: 5984
Log:
Fix window hide bug on WIN32 (STR #1748)


Modified:
   branches/branch-1.1/CHANGES
   branches/branch-1.1/src/Fl_win32.cxx

Modified: branches/branch-1.1/CHANGES
===================================================================
--- branches/branch-1.1/CHANGES 2007-11-20 11:09:07 UTC (rev 5983)
+++ branches/branch-1.1/CHANGES 2007-11-20 17:00:56 UTC (rev 5984)
@@ -4,6 +4,7 @@
          STR #1457, STR #1458, STR #1460, STR #1481, STR #1578,
          STR #1639, STR #1645, STR #1644, STR #1792, STR #1793,
          STR #1742, STR #1777)
+       - Hiding a nested window on WIN32 caused 100% CPU (STR #1748)
        - Changing the window size in FLUID would not mark the 
          project as modified (STR #1751)
        - Fixed fl_filename_isdir for "/"-path (STR #1761)

Modified: branches/branch-1.1/src/Fl_win32.cxx
===================================================================
--- branches/branch-1.1/src/Fl_win32.cxx        2007-11-20 11:09:07 UTC (rev 
5983)
+++ branches/branch-1.1/src/Fl_win32.cxx        2007-11-20 17:00:56 UTC (rev 
5984)
@@ -1118,7 +1118,7 @@
   }
   if (is_a_resize) {
     Fl_Group::resize(X,Y,W,H);
-    if (shown()) {redraw(); i->wait_for_expose = 1;}
+    if (visible_r()) {redraw(); i->wait_for_expose = 1;}
   } else {
     x(X); y(Y);
     flags |= SWP_NOSIZE;

_______________________________________________
fltk-commit mailing list
fltk-commit@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to