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:
parent
2c0ba080d5
commit
d3ec87c4a9
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue