From 0627bd9a3e319e9bc970b424ea39e39652e080fe Mon Sep 17 00:00:00 2001 From: Bill Spitzak Date: Sat, 23 Oct 1999 06:19:59 +0000 Subject: [PATCH] Does not call draw() on child Fl_Windows when their parent is hidden. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@793 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Fl.cxx b/src/Fl.cxx index efeb063ad..4628ae017 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -1,6 +1,6 @@ #include // -// "$Id: Fl.cxx,v 1.24.2.12 1999/08/22 23:31:21 gustavo Exp $" +// "$Id: Fl.cxx,v 1.24.2.13 1999/10/23 06:19:59 bill Exp $" // // Main event handling code for the Fast Light Tool Kit (FLTK). // @@ -131,7 +131,7 @@ void Fl::flush() { if (damage()) { damage_ = 0; for (Fl_X* x = Fl_X::first; x; x = x->next) { - if (x->w->damage() && x->w->visible()) { + if (x->w->damage() && x->w->visible_r()) { if (x->wait_for_expose) { // leave Fl::damage() set so programs can tell damage still exists damage_ = 1; @@ -700,5 +700,5 @@ int fl_old_shortcut(const char* s) { } // -// End of "$Id: Fl.cxx,v 1.24.2.12 1999/08/22 23:31:21 gustavo Exp $". +// End of "$Id: Fl.cxx,v 1.24.2.13 1999/10/23 06:19:59 bill Exp $". //