Browse Source

Linux xinerama DPI fix.

tags/2021-05-28
jules 11 years ago
parent
commit
ad8acb88ca
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_gui_basics/native/juce_linux_Windowing.cpp

+ 1
- 1
modules/juce_gui_basics/native/juce_linux_Windowing.cpp View File

@@ -3047,7 +3047,7 @@ void Desktop::Displays::findDisplays (float masterScale)
screens[j].height) * masterScale;
d.isMain = (index == 0);
d.scale = masterScale;
d.dpi = getDisplayDPI (index);
d.dpi = getDisplayDPI (0); // (all screens share the same DPI)
displays.add (d);
}


Loading…
Cancel
Save