From c8ef3908efc7e4800bb9bd4bd27036a2571f4e9a Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Thu, 16 Apr 2020 13:35:31 -0600 Subject: [PATCH] Update Win10 FCS Mouse fix to apply to later Win version (cherry picked from commit 1bc5d9b80fe28bca8f7071f561681eeb6d98e0b2) Author: Adam Johnson Date: Sat May 12 17:07:33 2018 -0400 Cursor bug is still present in Windows 10 April 2018 Update --- .../Sources/Plasma/PubUtilLib/plInputCore/plInputManager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plInputCore/plInputManager.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plInputCore/plInputManager.cpp index e15ec590..f02ebc8a 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plInputCore/plInputManager.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plInputCore/plInputManager.cpp @@ -275,8 +275,10 @@ static bool INeedsWin10CursorHack() // According to Chromium, Microsoft will be fixing the cursor bug in the next build // of Windows 10, so we only need to test for the dreaded 2017 FCU... // Reference: https://bugs.chromium.org/p/chromium/issues/detail?id=781182#c15 + // UPDATE: Bug is still present in the April 2018 Update (build 17134)... + // so this bandage will now be applied to anything 2017 FCU and later :( const RTL_OSVERSIONINFOW& version = hsGetWindowsVersion(); - return version.dwMajorVersion == 10 && version.dwBuildNumber == 16299; + return version.dwMajorVersion == 10 && version.dwBuildNumber >= 16299; } #endif // HS_BUILD_FOR_WIN32