The program "paste"  running with the argument -dnd does not work. Nothing happens.
 - https://github.com/edrosten/x_clipboard
Obs. 1: I am using el capitan.
Obs. 2: The same program works on linux.
Then I suggest you file a bug report against that product.
(In reply to Jeremy Huddleston Sequoia from comment #1)
> Then I suggest you file a bug report against that product.
Thank you for your attention.
Sorry, I have made a mistake. My question was very incomplete. What I wanted to say is that the Xquartz's Drang and drop support is not working no matter program is being used. I wrote myself a program from the ground up and the drag and drop does not working on Mac (using Xquartz), but it works nice on Linux. I have debugged my source and noticed that, when running on Mac, the if below returns true,
Atom XdndEnter = XInternAtom (display, "XdndEnter", False);
Atom XdndDrop = XInternAtom (display, "XdndDrop", False);
if(XInternAtom(display, "XdndAware", False))
std::cout << "Drag Supported" << std::endl;
but not event about drag and drop is ever created since I am not getting any of them using the following snippet code:
O hope someone can help me with this very annoying bug of Xquartz.