Resolves: tdf#145722 don't propose MOVE from AcceptDrop if not asked for MOVE
commit7f989417a1f16b6db6b9b0fbc6bb6ffd7a81bb1c
authorCaolán McNamara <caolanm@redhat.com>
Tue, 17 May 2022 15:28:20 +0000 (17 16:28 +0100)
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>
Wed, 18 May 2022 09:15:21 +0000 (18 11:15 +0200)
tree6a064155b0dac5718ec1d2e3a62c25dbbe62274b
parent5d2f16b0ae25949a0f466c30357fd591fa7276d9
Resolves: tdf#145722 don't propose MOVE from AcceptDrop if not asked for MOVE

announce to dnd that tree supports COPY and MOVE, but on accepting a drop
return MOVE only if that's something the AcceptDrop has set as desirable.

a) makes ctrl+dnd to select 'copy' work for gtk, including gtk on wayland
b) makes gen correctly draw its copy dnd icon.

git show -w

Change-Id: Ie985f8c9201634afc5ae717fd2aef0dbc18a39e4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134440
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
basctl/source/basicide/moduldlg.cxx