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(); }