OLE2 DND: Check if move is supported

Merged Luca Bacci requested to merge lb90/gtk:ole2-dnd-check-for-move into gtk-3-24

Currently OLE2 DND always triggers a move, even if the source only requested a copy operation. Here we add a check to avoid sending back a DELETE to the source if it only requested a copy.

We could add similar checks to other places like IDropTarget::DragEnter or IDropTarget::DragOver, but doesn't really matter all that much. As GTK3 is in LTS, better avoid too many changes.

Fixes https://gitlab.com/inkscape/inkscape/-/issues/4192

Edited by Luca Bacci

Merge request reports