From e3959bbaff421ed4ad848e61e82e9cf7e2dda17c Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 1 Jun 2014 17:21:37 +0000 Subject: Fixed D&D to FLTK broken by recent commits. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10181 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_x.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index f2be54814..d86596a1d 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -1339,7 +1339,7 @@ int fl_handle(const XEvent& thisevent) if (XGetWindowProperty(fl_display, fl_xevent->xselection.requestor, fl_xevent->xselection.property, - bytesread/4, 65536, 0/*1*/, AnyPropertyType, + bytesread/4, 65536, 1, AnyPropertyType, &actual, &format, &count, &remaining, &portion)) break; // quit on error @@ -1356,7 +1356,6 @@ 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