summaryrefslogtreecommitdiff
path: root/src/Fl_Input.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2008-04-22 18:11:51 +0000
committerMatthias Melcher <fltk@matthiasm.com>2008-04-22 18:11:51 +0000
commit6a143b1f61533c03ef20a8f2b82d2c90180055bc (patch)
treebae9eeabf06ddfb84d0f01f341d32743a8ab4e31 /src/Fl_Input.cxx
parent232ef4e1599b22e6d1426147ea594193d64f01a1 (diff)
Applying 1.1.9 changes to the 1.3 branch.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6108 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Input.cxx')
-rw-r--r--src/Fl_Input.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Fl_Input.cxx b/src/Fl_Input.cxx
index 326b1fd66..ba10c0694 100644
--- a/src/Fl_Input.cxx
+++ b/src/Fl_Input.cxx
@@ -410,9 +410,10 @@ int Fl_Input::handle(int event) {
copy(0);
}
- // perform the RELEASE callback
- if (when() & FL_WHEN_RELEASE)
- maybe_do_callback();
+ // For output widgets, do the callback so the app knows the user
+ // did something with the mouse...
+ if (readonly()) do_callback();
+
return 1;
case FL_DND_ENTER: