summaryrefslogtreecommitdiff
path: root/src/Fl_Input.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-03-28 17:36:07 +0000
committerManolo Gouy <Manolo>2016-03-28 17:36:07 +0000
commitaacb5277e7499ed087cff495169484f6f6274d3c (patch)
tree703bac8a791183522c88d13a6b1dfbfa0e6996a8 /src/Fl_Input.cxx
parent4fbbab8b41f4775752587f18c7d1b32bbd947c27 (diff)
Rewrite Fl_dnd.cxx under the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11455 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Input.cxx')
-rw-r--r--src/Fl_Input.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/Fl_Input.cxx b/src/Fl_Input.cxx
index cf9bcb4a7..f752b2b68 100644
--- a/src/Fl_Input.cxx
+++ b/src/Fl_Input.cxx
@@ -34,6 +34,7 @@
#include <FL/Fl.H>
#include <FL/x.H>
#include <FL/Fl_Window.H>
+#include <FL/Fl_System_Driver.H>
#include <FL/Fl_Input.H>
#include <FL/fl_draw.H>
#include <FL/fl_ask.H>
@@ -687,11 +688,7 @@ int Fl_Input::handle(int event) {
dnd_save_focus = this;
// drag the data:
copy(0);
-#ifdef __APPLE__ // PORTME: dnd
- Fl_X::dnd(1);
-#else
- Fl::dnd();
-#endif
+ Fl_System_Driver::driver()->dnd(1);
return 1;
}
}