Fix window hide bug on WIN32 (STR #1748)

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5984 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 2007-11-20 17:00:56 +00:00
parent 4da946c5de
commit ac3ab91ca2
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ CHANGES IN FLTK 1.1.8
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)

View File

@ -1118,7 +1118,7 @@ void Fl_Window::resize(int X,int Y,int W,int H) {
}
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;