diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2007-02-08 07:58:47 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2007-02-08 07:58:47 +0000 |
| commit | 624e885b240c3d287b6852eb8d6e2a0d2cc729f8 (patch) | |
| tree | fdd78073ab10a4234bf2b6e66306b9597f4b3feb /src/Fl_Text_Editor.cxx | |
| parent | 44fab0180e308c13c03aa67ee155e18950741e29 (diff) | |
STR #1584: even smarter mouse pointer hiding. I also fixed two little historic bugs in "ask" (double adding a widget, and not using "label.obj()" instead of "copy_label()" for non-static buffer. Lastly, I changed "boxtype" to use a Double_Window because it has become so big now that it started flickering.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5671 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Text_Editor.cxx')
| -rw-r--r-- | src/Fl_Text_Editor.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Fl_Text_Editor.cxx b/src/Fl_Text_Editor.cxx index 745490e0f..c26532906 100644 --- a/src/Fl_Text_Editor.cxx +++ b/src/Fl_Text_Editor.cxx @@ -447,7 +447,8 @@ int Fl_Text_Editor::handle(int event) { return 1; case FL_KEYBOARD: - if (active_r() && window()) window()->cursor(FL_CURSOR_NONE); + if (active_r() && window() && this == Fl::belowmouse()) + window()->cursor(FL_CURSOR_NONE); return handle_key(); case FL_PASTE: |
