summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-10-08 21:02:28 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-10-21 10:34:00 +0200
commit0d6f1e11ba26646c21eff61dcee78d17914bfd81 (patch)
treef55743c97dff54cb71f1caa50b2688eef324fa58
parentb374f59ab5ed2d130db011c4d3e4eee024f42fed (diff)
downloadUXP-0d6f1e11ba26646c21eff61dcee78d17914bfd81.tar
UXP-0d6f1e11ba26646c21eff61dcee78d17914bfd81.tar.gz
UXP-0d6f1e11ba26646c21eff61dcee78d17914bfd81.tar.lz
UXP-0d6f1e11ba26646c21eff61dcee78d17914bfd81.tar.xz
UXP-0d6f1e11ba26646c21eff61dcee78d17914bfd81.zip
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 c62f5873e..6f3c5313f 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"))
{