libfreerdp-core: fix connection type if composition is enabled
This commit is contained in:
parent
fec031ebe5
commit
64f5ccaca2
@ -663,7 +663,7 @@ void gcc_write_client_core_data(STREAM* s, rdpSettings *settings)
|
||||
connectionType = 0;
|
||||
earlyCapabilityFlags = RNS_UD_CS_SUPPORT_ERRINFO_PDU;
|
||||
|
||||
if (settings->performance_flags == PERF_FLAG_NONE)
|
||||
if ((settings->performance_flags & ~PERF_ENABLE_DESKTOP_COMPOSITION) == PERF_FLAG_NONE)
|
||||
{
|
||||
earlyCapabilityFlags |= RNS_UD_CS_VALID_CONNECTION_TYPE;
|
||||
connectionType = CONNECTION_TYPE_LAN;
|
||||
|
Loading…
Reference in New Issue
Block a user