I’ve implemented drag and drop support in JUCE plugin windows on Linux. Previously you could not drop content from outside of the application into JUCE-based plugin windows. This patch fixes things by properly setting up an XdndProxy. Much of the inspiration came from reading the LinVst code.
For us, this gets drag and drop working for some hosts on Linux, specifically:
But does not work in:
I believe Reaper at one point did support drag and drop, and LinVst has code specifically to make things work with Reaper, but at the moment I’ve not found any examples of D&D working in Reaper. If anyone knows of any, I’d appreciate a note on such so I can look deeper.
I’m attaching the patch, and a screenshot of it working in Sitala (our app). The patch is currently based off of the 5.4.3 tag (as is our app), but could obviously be updated to master without much difficulty.
juce-xdndproxy.diff (5.5 KB)