screencopy: scale window region for toplevel export (#13442)

This commit is contained in:
Vaxry 2026-02-28 22:54:10 +00:00 committed by GitHub
parent a032090098
commit 19c263e53c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -99,7 +99,7 @@ void CScreenshareSession::calculateConstraints() {
m_name = PMONITOR->m_name;
break;
case SHARE_WINDOW:
m_bufferSize = m_window->m_realSize->value().round();
m_bufferSize = (m_window->m_realSize->value() * PMONITOR->m_scale).round();
m_name = m_window->m_title;
break;
case SHARE_REGION: