fix(tsf): pass application modifier shortcuts through
This commit is contained in:
1 parent
68c203cd5b
commit
4b1696ced3
1 file changed
+9
@@ -711,6 +711,15 @@ BOOL CMetasequoiaIME::_IsKeyEaten( //
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
// Other Ctrl/Alt/Windows combinations belong to the application.
|
||||
// IME-owned shortcuts are handled before this normal key classifier.
|
||||
if ((shortcutModifiers & 0b00000110u) != 0 ||
|
||||
(GetAsyncKeyState(VK_LWIN) & 0x8000) != 0 ||
|
||||
(GetAsyncKeyState(VK_RWIN) & 0x8000) != 0)
|
||||
{
|
||||
return isTouchKeyboardSpecialKeys;
|
||||
}
|
||||
|
||||
const bool isComposing = freshCompositionState ? false : _IsComposing() != FALSE;
|
||||
const CANDIDATE_MODE candidateMode =
|
||||
freshCompositionState ? CANDIDATE_NONE : _candidateMode;
|
||||
|
||||
Reference in new issue
Block a user