Browse Source

Update Win10 FCS Mouse fix to apply to later Win version (cherry picked from commit 1bc5d9b80fe28bca8f7071f561681eeb6d98e0b2)

Author: Adam Johnson <AdamJohnso@gmail.com>
Date:   Sat May 12 17:07:33 2018 -0400

    Cursor bug is still present in Windows 10 April 2018 Update
rarified/vs2003buildtargets
Adam Johnson 4 years ago committed by rarified
parent
commit
c8ef3908ef
  1. 4
      MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plInputCore/plInputManager.cpp

4
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

Loading…
Cancel
Save