summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2012-12-05 17:17:31 +0000
committerGreg Ercolano <erco@seriss.com>2012-12-05 17:17:31 +0000
commit384532c5c29047699bff493c2fc0c12f90fdca8f (patch)
treecef1d484997ffad981a5e13e9f9b862fe556d79f /src
parent598e2cb63be08386f1440b010c19c8c9c7eb178e (diff)
Fixes for Manolo's reopen of STR#2886.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9737 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Browser_.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_Browser_.cxx b/src/Fl_Browser_.cxx
index 0b6cac865..caa3a0264 100644
--- a/src/Fl_Browser_.cxx
+++ b/src/Fl_Browser_.cxx
@@ -434,15 +434,15 @@ J1:
full_width_ = full_width();
if ((has_scrollbar_ & VERTICAL) &&
((has_scrollbar_ & ALWAYS_ON) || position_ || full_height_>H)) {
- if (!scrollbar.visible()) { damage(FL_DAMAGE_ALL); goto J1; }
+ if (!scrollbar.visible()) { damage(FL_DAMAGE_ALL); fl_pop_clip(); goto J1; }
} else {
- if (scrollbar.visible()) { damage(FL_DAMAGE_ALL); goto J1; }
+ if (scrollbar.visible()) { damage(FL_DAMAGE_ALL); fl_pop_clip(); goto J1; }
}
if ((has_scrollbar_ & HORIZONTAL) &&
((has_scrollbar_ & ALWAYS_ON) || hposition_ || full_width_>W)) {
- if (!hscrollbar.visible()) { damage(FL_DAMAGE_ALL); goto J1; }
+ if (!hscrollbar.visible()) { damage(FL_DAMAGE_ALL); fl_pop_clip(); goto J1; }
} else {
- if (hscrollbar.visible()) { damage(FL_DAMAGE_ALL); goto J1; }
+ if (hscrollbar.visible()) { damage(FL_DAMAGE_ALL); fl_pop_clip(); goto J1; }
}
}