This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
Add a fallback in Displays::findDisplays() on Linux to make sure that there is always a main display
tags/2021-05-28
ed
6 years ago
parent
150d9ea6b1
commit
eedca6109c
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp
+ 3
- 0
modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp
View File
@@ -3494,6 +3494,9 @@ void Displays::findDisplays (float masterScale)
xrandr.freeScreenResources (screens);
}
}
if (! displays.isEmpty() && ! displays.getReference (0).isMain)
displays.getReference (0).isMain = true;
}
}
Write
Preview
Loading…
Cancel
Save