summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES1
-rw-r--r--src/Fl.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 54b403c87..cc2828deb 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,6 @@
CHANGES IN FLTK 1.1.8
+ - Fixed WIN32 window stacking bug (STR #1296)
- Fixed wrong code generated by Fluid
for Scrollbars (STR #1287)
- Loading a file would not update the Widget
diff --git a/src/Fl.cxx b/src/Fl.cxx
index 18ceb5d6d..600759b1e 100644
--- a/src/Fl.cxx
+++ b/src/Fl.cxx
@@ -952,6 +952,7 @@ void Fl_Window::hide() {
if (ip->region) XDestroyRegion(ip->region);
#ifdef WIN32
+ CloseWindow(ip->xid);
XDestroyWindow(fl_display, ip->xid);
#elif defined(__APPLE_QD__)
if ( !parent() ) // don't destroy shared windows!