mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
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:
parent
3a14b405a2
commit
322f1b46dd
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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(),
|
||||
|
|
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue