summaryrefslogtreecommitdiff
path: root/src/Fl_Slider.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2005-07-16 08:25:06 +0000
committerMatthias Melcher <fltk@matthiasm.com>2005-07-16 08:25:06 +0000
commitb500645a5e3ae810e01c3062afea7bce77d83cae (patch)
treea961f2990a5fba0bce3769f218bbf13df6b99b80 /src/Fl_Slider.cxx
parent56933d2b801039a3891f2ac69d75631268937bec (diff)
Added redraw on focus vi FL_PUSH for roller, browser and slider
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4425 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Slider.cxx')
-rw-r--r--src/Fl_Slider.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Fl_Slider.cxx b/src/Fl_Slider.cxx
index f83c673df..0b58e924f 100644
--- a/src/Fl_Slider.cxx
+++ b/src/Fl_Slider.cxx
@@ -278,7 +278,10 @@ int Fl_Slider::handle(int event, int X, int Y, int W, int H) {
}
int Fl_Slider::handle(int event) {
- if (event == FL_PUSH && Fl::visible_focus()) Fl::focus(this);
+ if (event == FL_PUSH && Fl::visible_focus()) {
+ Fl::focus(this);
+ redraw();
+ }
return handle(event,
x()+Fl::box_dx(box()),