SDL_HINT_IME_SHOW_UI defaults to SDL_TRUE

This hint is currently only used on Windows, and this matches the behavior of other platforms.
This commit is contained in:
Sam Lantinga
2024-06-24 19:32:11 -07:00
parent 382494eeda
commit def7a43a2e
3 changed files with 3 additions and 6 deletions

View File

@@ -365,7 +365,7 @@ static void UILess_DisableUIUpdates(SDL_VideoData *videodata);
static SDL_bool WIN_ShouldShowNativeUI()
{
return SDL_GetHintBoolean(SDL_HINT_IME_SHOW_UI, SDL_FALSE);
return SDL_GetHintBoolean(SDL_HINT_IME_SHOW_UI, SDL_TRUE);
}
static int IME_Init(SDL_VideoData *videodata, HWND hwnd)