mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-26 03:49:23 +08:00
Fix RDP local desktop scale not taking effect on remote
This commit is contained in:
@@ -518,7 +518,7 @@ namespace mRemoteNG.Connection.Protocol.RDP
|
||||
{
|
||||
try
|
||||
{
|
||||
var scaleFactor = (uint)_displayProperties.ResolutionScalingFactor.Width * 100;
|
||||
var scaleFactor = (uint)(_displayProperties.ResolutionScalingFactor.Width * 100);
|
||||
SetExtendedProperty("DesktopScaleFactor", scaleFactor);
|
||||
SetExtendedProperty("DeviceScaleFactor", (uint)100);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user