summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2006-06-19 08:51:14 +0000
committerMatthias Melcher <fltk@matthiasm.com>2006-06-19 08:51:14 +0000
commit6190aa57287fad55e294e87f1e248dd3e335dd06 (patch)
treea8887e0c528f1b9cd6009840e91eac0f18739653 /src
parent11de032d6da7fa057b48f95beac7fea9bccdb455 (diff)
It seems that the long standing window stacking order problem in MSWindows is now finally solved. The solution is too silly to belive. It seems like WIN32 needs a HideWindow before the DestroyWindow, or the window manager gets confused. DOH!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5215 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl.cxx1
1 files changed, 1 insertions, 0 deletions
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!