feature request: add support for drag and drop
I think the ability to drag and drop a feh image would be useful. As a comparison, if you take a look at the default Ubuntu Image Viewer (eom - "eye of gnome"), that app supports drag and drop. If it's currently displaying an image, you can drag that image to the Google Chrome browser, and it will then display as an image in Google Chrome.
You can also drag and drop that image to a command line terminal, such as 'terminator', and have the absolute path of that image show up in the command line terminal window.
This is pretty useful if you want to run some command line filters on that image, but don't want to type that image's filename in the command line terminal window.
As it turns out, I ended up adding this functionality, to my forked version of feh, just recently. It seems to work pretty well!
You can now drag an image, from feh, to another application, such as Chrome, the gnome terminal, or another image viewing app, such as Viewnior.
You can check it out here:
git clone https://github.com/ginobean/feh.git git checkout custom-3.2
As a side note, I updated the make files, so that it could support cpp classes as well. I incorporated some work, originally done by Edward Rosten, on the Xdnd (drag and drop) code, which he wrote in C++.
Let me know if you would like me to create a pull request for these changes.
It seems to work fairly well. I tested all the cases I could think of: --slideshow, --index, --thumbnails, --multiwindow..
Best :).