From 409d2cd00bfe9eeac75ad2bdef1136839f699406 Mon Sep 17 00:00:00 2001 From: takase1121 <20792268+takase1121@users.noreply.github.com> Date: Mon, 19 May 2025 07:44:32 +0800 Subject: [PATCH] main: set the correct SDL_HINT_IME_IMPLEMENTED_UI --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index c7ea09d..b834367 100644 --- a/src/main.c +++ b/src/main.c @@ -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. */ @@ -153,7 +153,7 @@ int main(int argc, char **argv) { exit(1); } init_window_icon(); - + if (ren_init(window) != 0) { fprintf(stderr, "Error initializing renderer: %s\n", SDL_GetError()); exit(1);