mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-07 23:20:58 +00:00
Fix WM_SYSKEYDOWN not being trapped by IME message handling
This would cause Alt + <something> not being trapped if handled by the system IME.
This commit is contained in:
parent
d50cda3247
commit
2ef005afe5
1 changed files with 8 additions and 0 deletions
|
|
@ -1087,6 +1087,14 @@ bool WIN_HandleIMEMessage(HWND hwnd, UINT msg, WPARAM wParam, LPARAM *lParam, SD
|
|||
SDL_DebugIMELog("WM_KEYDOWN normal");
|
||||
}
|
||||
break;
|
||||
case WM_SYSKEYDOWN:
|
||||
if (wParam == VK_PROCESSKEY) {
|
||||
SDL_DebugIMELog("WM_SYSKEYDOWN VK_PROCESSKEY");
|
||||
trap = true;
|
||||
} else {
|
||||
SDL_DebugIMELog("WM_SYSKEYDOWN normal");
|
||||
}
|
||||
break;
|
||||
case WM_INPUTLANGCHANGE:
|
||||
SDL_DebugIMELog("WM_INPUTLANGCHANGE");
|
||||
IME_InputLangChanged(videodata);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue