diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2008-12-12 00:23:45 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2008-12-12 00:23:45 +0000 |
| commit | d9801ae479dfc9aa82f5121b3cbb74f875dd690a (patch) | |
| tree | 84f0f17192bd7c25118ddbb01f8b0c0c0c2e0f56 | |
| parent | b1fefe0645611356c4999af612bf8ee9b9281cff (diff) | |
STR 2094: Fixed callback handling for FL_HIDE event for Fl_Input_ and
handling of FL_WHEN_ENTER_KEY_ALWAYS.
This was a regression introduced with svn -r 6212.
History:
svn -r 6031: STR #1719: regression introduced in FLTK 1.1
svn -r 6104: Fixed in FLTK 1.1
svn -r 6108: Applied to FLTK 1.3 (okay)
svn -r 6212: introduced again by "Merging the UTF8 patch ..."
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6581 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/Fl_Input_.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Fl_Input_.cxx b/src/Fl_Input_.cxx index b65223df1..199a594e7 100644 --- a/src/Fl_Input_.cxx +++ b/src/Fl_Input_.cxx @@ -809,8 +809,7 @@ int Fl_Input_::handletext(int event, int X, int Y, int W, int H) { minimal_update(mark_, position_); case FL_HIDE: fl_reset_spot(); - if (!readonly() && - (when() & (FL_WHEN_RELEASE | FL_WHEN_NOT_CHANGED))) + if (!readonly() && (when() & FL_WHEN_RELEASE)) maybe_do_callback(); return 1; |
