diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2006-01-04 19:53:34 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2006-01-04 19:53:34 +0000 |
| commit | c4a0b7f05642e9d233e2eb7e490dc3d7f9db5833 (patch) | |
| tree | c625ce7c4b29b58339f954fd29f6d026ed0703db /src/Fl_x.cxx | |
| parent | f5a571fc83921005c21eff1383cd30ac4afadd2c (diff) | |
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
Diffstat (limited to 'src/Fl_x.cxx')
| -rw-r--r-- | src/Fl_x.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
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); |
