diff --git a/CHANGES b/CHANGES index da2a93e02..909759486 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,6 @@ CHANGES IN FLTK 1.1.9 + - Fixed regression in callback handling (STR #1918) - Fixed wrong relative path when absolute path has a trailing slash in fl_filename_relative (STR #1920) - Fixed multiple selction of files and directories in 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: