Skip to content

Commit

Permalink
Enable key events during IME composition
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 3, 2025
1 parent 2d37903 commit c34cdf7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/video/windows/SDL_windowskeyboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,8 @@ bool WIN_HandleIMEMessage(HWND hwnd, UINT msg, WPARAM wParam, LPARAM *lParam, SD
case WM_KEYDOWN:
if (wParam == VK_PROCESSKEY) {
SDL_DebugIMELog("WM_KEYDOWN VK_PROCESSKEY\n");
trap = true;
// We actually want to see all key events associated with IME composition
//trap = true;
} else {
SDL_DebugIMELog("WM_KEYDOWN normal\n");
}
Expand Down

0 comments on commit c34cdf7

Please sign in to comment.