1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00

X11: Remove isStandaloneApp check

This commit is contained in:
reuk 2025-09-23 12:22:34 +01:00
parent 254e03a435
commit 141b2d64cc
No known key found for this signature in database

View file

@ -2653,7 +2653,7 @@ Array<Displays::Display> XWindowSystem::findDisplays (float masterScale) const
+ ((static_cast<double> (crtc->height) * 25.4 * 0.5) / static_cast<double> (output->mm_height));
auto scale = DisplayHelpers::getDisplayScale (output->name, d.dpi);
scale = (scale <= 0.1 || ! JUCEApplicationBase::isStandaloneApp()) ? 1.0 : scale;
scale = scale <= 0.1 ? 1.0 : scale;
d.scale = masterScale * scale;