[core,info] only set HIDEF_RAIL if RdpVersion recent enough

This commit is contained in:
akallabeth
2025-03-29 08:26:02 +01:00
parent 0ed1548974
commit eb4380d458

View File

@@ -786,7 +786,10 @@ static BOOL rdp_write_info_packet(rdpRdp* rdp, wStream* s)
if (settings->RemoteApplicationMode)
{
if (settings->HiDefRemoteApp)
flags |= INFO_HIDEF_RAIL_SUPPORTED;
{
if (settings->RdpVersion >= RDP_VERSION_10_0)
flags |= INFO_HIDEF_RAIL_SUPPORTED;
}
flags |= INFO_RAIL;
}