fix(windows): address review comments

This commit is contained in:
rc-swag 2022-03-22 13:37:33 +10:00 committed by GitHub
parent 79fa9f8a86
commit fec2120b2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 4 deletions

View file

@ -309,5 +309,4 @@ void WINAPI SetCustomPostKeyCallback(CUSTOMPOSTKEYCALLBACKPROC proc);
extern BOOL isKeymanKeyboardActive; // is the active keyboard a Keyman keyboard
#endif

View file

@ -226,8 +226,8 @@ LRESULT _kmnLowLevelKeyboardProc(
hs->vkCode == VK_PROCESSKEY || hs->vkCode == VK_PACKET || !isKeymanKeyboardActive) {
// This key event was generated by Keyman, so pass it through
// dwExtraInfo is set to 0x4321DCBA by mstsc which does prefiltering. So we ignore for anything where dwExtraInfo!=0 because it
// probably is not hardware generated and may cause more issues to filter it/
// We also ignore if a keyman keyboard is not currently active.
// probably is not hardware generated and may cause more issues to filter it.
// We also ignore if a Keyman keyboard is not currently active.
return CallNextHookEx(Globals::get_hhookLowLevelKeyboardProc(), nCode, wParam, lParam);
}

View file

@ -107,7 +107,6 @@ extern CRITICAL_SECTION g_cs;
extern DWORD g_dwDeepIntegration; // I4375
//extern const CLSID c_clsidKMTipTextService;
extern const GUID c_guidKeymanDeadkeysProp;