diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-10-08 21:02:28 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-10-08 21:02:28 +0200 |
commit | a0c5def1573f1254138969cdf69ba150b399b370 (patch) | |
tree | 8abf1a3ed95df8ff423a283c5ba6f49ddede8a0c /widget | |
parent | df7fdc5542377ee2b84ba824e94e9fb8cd195b9d (diff) | |
download | uxp-a0c5def1573f1254138969cdf69ba150b399b370.tar.gz |
No Issue - Expand HWA over RDP to Windows 8.1 and 10.
When Mozilla implemented this initially, only Windows 8 existed.
Because of the strict equal check, 8.1 and 10 didn't get HWA over RDP
while they are perfectly capable of doing so with RemoteFX. This change
allows any version of Windows from 8.0 onwards to use HWA over RDP.
Diffstat (limited to 'widget')
-rw-r--r-- | widget/windows/GfxInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/windows/GfxInfo.cpp b/widget/windows/GfxInfo.cpp index c62f5873e6..6f3c5313f1 100644 --- a/widget/windows/GfxInfo.cpp +++ b/widget/windows/GfxInfo.cpp @@ -329,7 +329,7 @@ GfxInfo::Init() // Unfortunately, the Device ID is nullptr, and we can't enumerate // it using the setup infrastructure (SetupDiGetClassDevsW below // will return INVALID_HANDLE_VALUE). - if (mWindowsVersion == kWindows8 && + if (mWindowsVersion >= kWindows8 && mDeviceID.Length() == 0 && mDeviceString.EqualsLiteral("RDPUDD Chained DD")) { |