Fix Drag and Drop with Gtk3
This is a backport of Drag and Drop from Gtk4 branch to the current Gtk3 branch. Fixes the following-
-
Drag Cursor correctly reflects the operation being performed - Copy, Move or Ask -
Shift, control and alt keys work correctly to change the drag operation to Copy, Move or Ask -
Works correctly also on dropping on folders on the desktop
New Features
-
Ask - Ask the user what to do - Copy, Move or Make Links -
Ability to make Links on the Desktop or on the dropped folder on desktop -
Links retain the position on the desktop where dropped -
Copied files get the exact dropped position on the desktop. -
Pasted files get the exact dropped position on the desktop.
This works perfectly in Wayland. Drag and Drop behaves differently under X and therefore some changes made to accommodate drag and drop under X
Fixes so that links make into folders on Desktop don't overwrite with duplicate filenames.