summaryrefslogtreecommitdiff
path: root/src/Fl_Window.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Window.cxx')
-rw-r--r--src/Fl_Window.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx
index 27ff2ae9d..0b4961062 100644
--- a/src/Fl_Window.cxx
+++ b/src/Fl_Window.cxx
@@ -74,6 +74,7 @@ Fl_Window::Fl_Window(int X,int Y,int W, int H, const char *l) :
{
_Fl_Window();
set_flag(FORCE_POSITION);
+ if (!parent()) clear_visible();
}