Fix native resolution detection on high DPI wayland systems
This commit is contained in:
parent
aa7d5fa924
commit
b0804ce048
4 changed files with 24 additions and 9 deletions
|
|
@ -986,7 +986,7 @@ void Session::updateOptimalWindowDisplayMode()
|
|||
// If this doesn't fit the selected resolution, use the native
|
||||
// resolution of the panel (unscaled).
|
||||
if (desktopMode.w < m_ActiveVideoWidth || desktopMode.h < m_ActiveVideoHeight) {
|
||||
if (!StreamUtils::getRealDesktopMode(displayIndex, &desktopMode)) {
|
||||
if (!StreamUtils::getNativeDesktopMode(displayIndex, &desktopMode)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue