Update windows/src/engine/keyman32/appint/aiTIP.cpp

Co-authored-by: Marc Durdin <marc@durdin.net>
This commit is contained in:
Matthew Lee 2026-08-22 10:25:22 +03:00 committed by GitHub
parent 5d073fa44f
commit f586e94cf5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,7 +68,7 @@ extern "C" __declspec(dllexport) BOOL WINAPI TIPActivateKeyboard(GUID *profile)
PKEYMAN64THREADDATA _td = ThreadGlobals();
if(!_td) return FALSE;
RefreshToggleState(); // #16422 - a keyboard switch does not change window focus
RefreshToggleState();
if(profile != NULL) {
for(int i = 0; i < _td->nKeyboards; i++) {