diff options
| author | Bill Spitzak <spitzak@gmail.com> | 1999-10-23 06:19:59 +0000 |
|---|---|---|
| committer | Bill Spitzak <spitzak@gmail.com> | 1999-10-23 06:19:59 +0000 |
| commit | 0627bd9a3e319e9bc970b424ea39e39652e080fe (patch) | |
| tree | 6368e1247912dc2ddcb7fcb18c25aad4b28b6e7d | |
| parent | ecd524fdc7384c48e7cdde001dc479a5d795ee88 (diff) | |
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
| -rw-r--r-- | src/Fl.cxx | 6 |
1 files 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 <stdio.h> // -// "$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 $". // |
