diff options
Diffstat (limited to 'src/Fl_Input.cxx')
| -rw-r--r-- | src/Fl_Input.cxx | 7 |
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: |
