summaryrefslogtreecommitdiff
path: root/src/Fl_Group.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Group.cxx')
-rw-r--r--src/Fl_Group.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Group.cxx b/src/Fl_Group.cxx
index 7761b1227..4200439b3 100644
--- a/src/Fl_Group.cxx
+++ b/src/Fl_Group.cxx
@@ -956,6 +956,7 @@ void Fl_Group::update_child(Fl_Widget& widget) const {
void Fl_Group::draw_child(Fl_Widget& widget) const {
if (widget.visible() && widget.type() < FL_WINDOW &&
fl_not_clipped(widget.x(), widget.y(), widget.w(), widget.h())) {
+ // The following call clears all damage flags and then *sets* FL_DAMAGE_ALL
widget.clear_damage(FL_DAMAGE_ALL);
widget.draw();
widget.clear_damage();