diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2010-12-12 19:52:26 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2010-12-12 19:52:26 +0000 |
| commit | 318b3dea5750dfce5103a8fbce6eea38f7fcd613 (patch) | |
| tree | 69532eb4658057f41e1c07f80314aaa68c046e28 /src/Fl_Text_Display.cxx | |
| parent | 495b3b5af5051dd69f595aa05989f679ed992fef (diff) | |
Added an 'Options' dialog (replacing test/preferences) that can be used to set system wide or user real options like Visible Focus.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8018 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Text_Display.cxx')
| -rw-r--r-- | src/Fl_Text_Display.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Text_Display.cxx b/src/Fl_Text_Display.cxx index 6347fcd02..a512e477e 100644 --- a/src/Fl_Text_Display.cxx +++ b/src/Fl_Text_Display.cxx @@ -3609,7 +3609,7 @@ int Fl_Text_Display::handle(int event) { if (dragType==DRAG_NONE) return 1; if (dragType==DRAG_START_DND) { - if (!Fl::event_is_click()) { + if (!Fl::event_is_click() && Fl::dnd_text_ops()) { const char* copy = buffer()->selection_text(); Fl::dnd(); free((void*)copy); |
