diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2006-08-17 11:10:54 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2006-08-17 11:10:54 +0000 |
| commit | ae971b97da65ba73f5a3b965435f54e8c0634274 (patch) | |
| tree | 84e0797d2411de0db9049b405709469b35b73ac2 /src/Fl_Text_Display.cxx | |
| parent | 2d2e6f9bf81c32c516a1a2f6fbb429b4a67be7c6 (diff) | |
Fl_Text_Editor now correctly handles middle mouse clicks (STR #1384)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5325 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Text_Display.cxx')
| -rw-r--r-- | src/Fl_Text_Display.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Text_Display.cxx b/src/Fl_Text_Display.cxx index 6cf4b8c53..a61fc5778 100644 --- a/src/Fl_Text_Display.cxx +++ b/src/Fl_Text_Display.cxx @@ -3122,6 +3122,7 @@ int Fl_Text_Display::handle(int event) { Fl::focus(this); handle(FL_FOCUS); } + if (Fl_Group::handle(event)) return 1; if (Fl::event_state()&FL_SHIFT) return handle(FL_DRAG); dragging = 1; int pos = xy_to_position(Fl::event_x(), Fl::event_y(), CURSOR_POS); |
