diff --git a/modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp b/modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp index b23d8bd366..00de9d6b89 100644 --- a/modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp +++ b/modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp @@ -966,7 +966,7 @@ static double getScaleForDisplay (const String& name, double dpi) // If no scale factor is set by GNOME or Ubuntu then calculate from monitor dpi // We use the same approach as chromium which simply divides the dpi by 96 // and then rounds the result - return round (dpi / 150.0); + return round (dpi / 96.0); } //=============================== X11 - Pixmap =================================