From 6190aa57287fad55e294e87f1e248dd3e335dd06 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 19 Jun 2006 08:51:14 +0000 Subject: 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 --- src/Fl.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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! -- cgit v1.2.3