summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-10-08 21:02:28 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-10-08 21:02:28 +0200
commit1a86abc159e788c40ebdfc6a99c9143d168737af (patch)
tree8abf1a3ed95df8ff423a283c5ba6f49ddede8a0c
parent3ae8f139af5e46157d0d9d5790d401c95e076988 (diff)
downloaduxp-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.cpp2
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"))
{