Merge branch 'master' of github.com:mrthebunny/FreeRDP
This commit is contained in:
commit
2b27fd51ad
@ -810,6 +810,12 @@ BOOL freerdp_client_populate_settings_from_rdp_file(rdpFile* file, rdpSettings*
|
|||||||
(file->ScreenModeId == 1) ? TRUE : FALSE);
|
(file->ScreenModeId == 1) ? TRUE : FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (~((size_t) file->SmartSizing))
|
||||||
|
{
|
||||||
|
freerdp_set_param_bool(settings, FreeRDP_SmartSizing,
|
||||||
|
(file->SmartSizing == 1) ? TRUE : FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
if (~((size_t) file->LoadBalanceInfo))
|
if (~((size_t) file->LoadBalanceInfo))
|
||||||
{
|
{
|
||||||
settings->LoadBalanceInfo = (BYTE*) _strdup(file->LoadBalanceInfo);
|
settings->LoadBalanceInfo = (BYTE*) _strdup(file->LoadBalanceInfo);
|
||||||
@ -864,7 +870,7 @@ BOOL freerdp_client_populate_settings_from_rdp_file(rdpFile* file, rdpSettings*
|
|||||||
freerdp_set_param_string(settings, FreeRDP_GatewayHostname, file->GatewayHostname);
|
freerdp_set_param_string(settings, FreeRDP_GatewayHostname, file->GatewayHostname);
|
||||||
|
|
||||||
if (~file->GatewayUsageMethod)
|
if (~file->GatewayUsageMethod)
|
||||||
freerdp_set_gateway_usage_method(settings, settings->GatewayUsageMethod);
|
freerdp_set_gateway_usage_method(settings, file->GatewayUsageMethod);
|
||||||
|
|
||||||
if (~file->PromptCredentialOnce)
|
if (~file->PromptCredentialOnce)
|
||||||
freerdp_set_param_bool(settings, FreeRDP_GatewayUseSameCredentials, file->PromptCredentialOnce);
|
freerdp_set_param_bool(settings, FreeRDP_GatewayUseSameCredentials, file->PromptCredentialOnce);
|
||||||
|
@ -235,6 +235,7 @@ rdpSettings* freerdp_settings_new(DWORD flags)
|
|||||||
settings->SaltedChecksum = TRUE;
|
settings->SaltedChecksum = TRUE;
|
||||||
settings->ServerPort = 3389;
|
settings->ServerPort = 3389;
|
||||||
settings->GatewayPort = 443;
|
settings->GatewayPort = 443;
|
||||||
|
settings->GatewayBypassLocal = TRUE;
|
||||||
settings->DesktopResize = TRUE;
|
settings->DesktopResize = TRUE;
|
||||||
settings->ToggleFullscreen = TRUE;
|
settings->ToggleFullscreen = TRUE;
|
||||||
settings->DesktopPosX = 0;
|
settings->DesktopPosX = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user