parent
ef8c9e48e8
commit
e53dc3dabb
@ -1156,11 +1156,10 @@ static BOOL xf_pre_connect(freerdp* instance)
|
||||
{
|
||||
if (!xf_keyboard_init(xfc))
|
||||
return FALSE;
|
||||
if (!xf_detect_monitors(xfc, &maxWidth, &maxHeight))
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (!xf_detect_monitors(xfc, &maxWidth, &maxHeight))
|
||||
return FALSE;
|
||||
|
||||
if (maxWidth && maxHeight && !freerdp_settings_get_bool(settings, FreeRDP_SmartSizing))
|
||||
{
|
||||
if (!freerdp_settings_set_uint32(settings, FreeRDP_DesktopWidth, maxWidth))
|
||||
|
Loading…
Reference in New Issue
Block a user