summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2014-06-01 07:17:15 +0000
committerManolo Gouy <Manolo>2014-06-01 07:17:15 +0000
commit50405942b5e15eeceab33fcc5d4f8228e35cca55 (patch)
treedebe01cb22817d377adc86b9afa04edc8eef6576
parent44a1407ba23063fb9c2531c278493fbc481e6d7b (diff)
Restore D&D of filenames that was broken in recent commits.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10179 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/Fl_x.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx
index 821e1612a..24c85d506 100644
--- a/src/Fl_x.cxx
+++ b/src/Fl_x.cxx
@@ -1356,6 +1356,7 @@ int fl_handle(const XEvent& thisevent)
return true;
}
+Fl::e_clipboard_type = Fl::clipboard_plain_text; // default data type
if (actual == TARGETS || actual == XA_ATOM) {
/*for (unsigned i = 0; i<count; i++) {
fprintf(stderr," %s", XGetAtomName(fl_display, ((Atom*)portion)[i]) );