diff options
Diffstat (limited to 'src/Fl_Input.cxx')
| -rw-r--r-- | src/Fl_Input.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_Input.cxx b/src/Fl_Input.cxx index 30a198d0d..ffd8bf230 100644 --- a/src/Fl_Input.cxx +++ b/src/Fl_Input.cxx @@ -350,8 +350,8 @@ int Fl_Input::handle(int event) { position(position()); return (1); } else { - if (active_r() && window()) window()->cursor(FL_CURSOR_NONE); - + if (active_r() && window() && this == Fl::belowmouse()) + window()->cursor(FL_CURSOR_NONE); return handle_key(); } |
