mirror of https://github.com/FreeRDP/FreeRDP
Fixed smart sizing
Do not limit resolutions when smart sizing is activated
This commit is contained in:
parent
3409f8d3b0
commit
520367b2da
|
@ -1220,7 +1220,7 @@ static BOOL xf_pre_connect(freerdp* instance)
|
||||||
|
|
||||||
xf_detect_monitors(xfc, &maxWidth, &maxHeight);
|
xf_detect_monitors(xfc, &maxWidth, &maxHeight);
|
||||||
|
|
||||||
if (maxWidth && maxHeight)
|
if (maxWidth && maxHeight && !freerdp_settings_get_bool(settings, FreeRDP_SmartSizing))
|
||||||
{
|
{
|
||||||
settings->DesktopWidth = maxWidth;
|
settings->DesktopWidth = maxWidth;
|
||||||
settings->DesktopHeight = maxHeight;
|
settings->DesktopHeight = maxHeight;
|
||||||
|
|
Loading…
Reference in New Issue