Skip to content

Commit

Permalink
+ SDL_SetHint(SDL_HINT_IME_SHOW_UI, "1");
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Dec 22, 2023
1 parent 288b834 commit cb977a1
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@ namespace HelloImGui { namespace BackendApi
else
BACKEND_THROW("Unsupported backend3DMode");

// From 2.0.18: Enable native IME.
#ifdef SDL_HINT_IME_SHOW_UI
SDL_SetHint(SDL_HINT_IME_SHOW_UI, "1");
#endif

// If the window is created with the SDL_WINDOW_ALLOW_HIGHDPI flag,
// its size in pixels may differ from its size in screen coordinates on platforms with high-DPI support
// (e.g. iOS and macOS).
Expand Down

0 comments on commit cb977a1

Please sign in to comment.