main: set the correct SDL_HINT_IME_IMPLEMENTED_UI

This commit is contained in:
takase1121
2025-05-19 08:47:47 +08:00
parent fceb773d96
commit 409d2cd00b
+1 -1
View File
@@ -134,7 +134,7 @@ int main(int argc, char **argv) {
SDL_SetHint(SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH, "1");
SDL_SetHint(SDL_HINT_IME_IMPLEMENTED_UI, "1");
SDL_SetHint(SDL_HINT_RENDER_DRIVER, "software");
SDL_SetHint(SDL_HINT_IME_IMPLEMENTED_UI, "composition");
/* This hint tells SDL to respect borderless window as a normal window.
** For example, the window will sit right on top of the taskbar instead
** of obscuring it. */