[core] set TS_UD_CS_CLUSTER::Flags to REDIRECTION_VERSION5

REDIRECTION_VERSION6 breaks redirection for currently unknown reasons.
Revert to the last known good version until we receive an update on
documentation for the redirection handling
This commit is contained in:
Armin Novak 2023-01-21 11:07:38 +01:00 committed by Martin Fleisz
parent 5be9cf90df
commit 073aefd766

View File

@ -374,7 +374,7 @@ rdpSettings* freerdp_settings_new(DWORD flags)
(flags & FREERDP_SETTINGS_SERVER_MODE) ? TRUE : FALSE) ||
!freerdp_settings_set_bool(settings, FreeRDP_WaitForOutputBufferFlush, TRUE) ||
!freerdp_settings_set_uint32(settings, FreeRDP_ClusterInfoFlags,
REDIRECTION_SUPPORTED | (REDIRECTION_VERSION6 << 2)) ||
REDIRECTION_SUPPORTED | (REDIRECTION_VERSION5 << 2)) ||
!freerdp_settings_set_uint32(settings, FreeRDP_DesktopWidth, 1024) ||
!freerdp_settings_set_uint32(settings, FreeRDP_DesktopHeight, 768) ||
!freerdp_settings_set_bool(settings, FreeRDP_Workarea, FALSE) ||