Disable the switching of keyboard layout on window focus gain and loss.

git-svn-id: https://svn.eduke32.com/eduke32@6708 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2018-02-26 20:27:58 +00:00
parent 3a14b405a2
commit 322f1b46dd
3 changed files with 3 additions and 3 deletions

View file

@ -2356,7 +2356,7 @@ int32_t handleevents_pollsdl(void)
if (mousegrab && moustat)
grabmouse_low(appactive);
#ifdef _WIN32
Win_SetKeyboardLayoutUS(appactive);
// Win_SetKeyboardLayoutUS(appactive);
if (backgroundidle)
SetPriorityClass(GetCurrentProcess(), appactive ? NORMAL_PRIORITY_CLASS : IDLE_PRIORITY_CLASS);

View file

@ -540,7 +540,7 @@ int32_t handleevents_pollsdl(void)
if (mousegrab && moustat)
grabmouse_low(!!appactive);
# ifdef _WIN32
Win_SetKeyboardLayoutUS(appactive);
// Win_SetKeyboardLayoutUS(appactive);
if (backgroundidle)
SetPriorityClass(GetCurrentProcess(),

View file

@ -3542,7 +3542,7 @@ static LRESULT CALLBACK WndProcCallback(HWND hWnd, UINT uMsg, WPARAM wParam, LPA
}
#endif
Win_SetKeyboardLayoutUS(appactive);
// Win_SetKeyboardLayoutUS(appactive);
if (backgroundidle)
SetPriorityClass(GetCurrentProcess(),