From c4a0b7f05642e9d233e2eb7e490dc3d7f9db5833 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 4 Jan 2006 19:53:34 +0000 Subject: Fl::dnd() now sets the content type of the drag to "text/uri-list" when it sees the dragged text is composed of URIs. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4736 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_x.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Fl_x.cxx') diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index d930c2ec7..7b0f1149e 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -286,6 +286,7 @@ Atom fl_XdndStatus; Atom fl_XdndActionCopy; Atom fl_XdndFinished; //Atom fl_XdndProxy; +Atom fl_XdndURIList; static void fd_callback(int,void *) { @@ -339,6 +340,8 @@ void fl_open_display(Display* d) { fl_XdndActionCopy = XInternAtom(d, "XdndActionCopy", 0); fl_XdndFinished = XInternAtom(d, "XdndFinished", 0); //fl_XdndProxy = XInternAtom(d, "XdndProxy", 0); + fl_XdndEnter = XInternAtom(d, "XdndEnter", 0); + fl_XdndURIList = XInternAtom(d, "text/uri-list", 0); Fl::add_fd(ConnectionNumber(d), POLLIN, fd_callback); -- cgit v1.2.3