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 | 1a86abc159e788c40ebdfc6a99c9143d168737af (patch) | |
tree | 8abf1a3ed95df8ff423a283c5ba6f49ddede8a0c | |
parent | 3ae8f139af5e46157d0d9d5790d401c95e076988 (diff) | |
download | uxp-1a86abc159e788c40ebdfc6a99c9143d168737af.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.
-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")) { |