Browse Source

Linux: Fixed a scaling issue with external drag and drop

tags/2021-05-28
ed 6 years ago
parent
commit
d3ec87c4a9
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp

+ 2
- 0
modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp 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;


Loading…
Cancel
Save