Fixed smart sizing

Do not limit resolutions when smart sizing is activated
This commit is contained in:
Armin Novak 2021-09-06 13:59:45 +02:00 committed by akallabeth
parent 3409f8d3b0
commit 520367b2da
1 changed files with 1 additions and 1 deletions

View File

@ -1220,7 +1220,7 @@ static BOOL xf_pre_connect(freerdp* instance)
xf_detect_monitors(xfc, &maxWidth, &maxHeight);
if (maxWidth && maxHeight)
if (maxWidth && maxHeight && !freerdp_settings_get_bool(settings, FreeRDP_SmartSizing))
{
settings->DesktopWidth = maxWidth;
settings->DesktopHeight = maxHeight;