diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2006-10-29 13:43:31 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2006-10-29 13:43:31 +0000 |
| commit | 39cb1f8daf0823668197a03d014f6328b0c7b7ba (patch) | |
| tree | ce16063b07601bb81ce408122adb4915e103c731 /src/Fl_Input_.cxx | |
| parent | 7fffbf7deaae186c2e869c87e2d0fead17299efa (diff) | |
Fix two "hide the cursor" bugs related to click-to-focus windows (STR #1475)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5532 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Input_.cxx')
| -rw-r--r-- | src/Fl_Input_.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Input_.cxx b/src/Fl_Input_.cxx index fcb552513..be6448640 100644 --- a/src/Fl_Input_.cxx +++ b/src/Fl_Input_.cxx @@ -709,6 +709,7 @@ int Fl_Input_::handletext(int event, int X, int Y, int W, int H) { return 1; case FL_UNFOCUS: + if (active_r() && window()) window()->cursor(FL_CURSOR_DEFAULT); if (mark_ == position_) { if (!(damage()&FL_DAMAGE_EXPOSE)) {minimal_update(position_); erase_cursor_only = 1;} } else //if (Fl::selection_owner() != this) |
