mirror of
https://github.com/fltk/fltk.git
synced 2026-06-05 08:06:35 +08:00
STR #1122: Fl_Text_Display would throw away all key events if the mouse pointer was outside of the Widget bounds.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4713 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -3,6 +3,7 @@ CHANGES IN FLTK 1.1.7
|
||||
- Documentation fixes (STR #571, STR #648, STR #692, STR
|
||||
#730, STR #744, STR #745, STR #931, STR #942, STR #960,
|
||||
STR #969)
|
||||
- Fixed handling of Crl-C in Fl_Text_Display (STR #1122)
|
||||
- OS X Quartz version now draw a nice resize control (STR
|
||||
#1099)
|
||||
- FLTK now enables large file support when available (STR
|
||||
|
||||
@@ -3087,7 +3087,8 @@ int Fl_Text_Display::handle(int event) {
|
||||
// This isn't very elegant!
|
||||
if (!Fl::event_inside(text_area.x, text_area.y, text_area.w, text_area.h) &&
|
||||
!dragging && event != FL_LEAVE && event != FL_ENTER &&
|
||||
event != FL_MOVE && event != FL_FOCUS && event != FL_UNFOCUS) {
|
||||
event != FL_MOVE && event != FL_FOCUS && event != FL_UNFOCUS &&
|
||||
event != FL_KEYBOARD && event != FL_KEYUP) {
|
||||
return Fl_Group::handle(event);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user