1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Linux: Fixed a scaling issue with external drag and drop

This commit is contained in:
ed 2019-05-17 17:27:15 +01:00
parent 2c0ba080d5
commit d3ec87c4a9

View file

@ -3057,6 +3057,8 @@ private:
Point<int> dropPos ((int) clientMsg.data.l[2] >> 16,
(int) clientMsg.data.l[2] & 0xffff);
dropPos = Desktop::getInstance().getDisplays().physicalToLogical (dropPos);
dropPos -= bounds.getPosition();
Atom targetAction = atoms->XdndActionCopy;