summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2026-02-14 10:42:18 -0500
committer arbee <rb6502@users.noreply.github.com>2026-02-14 10:42:18 -0500
commitfc840c8f5a949cec2f4a7cbff0844e7e93320c53 (patch)
tree3790b9ee9c3b3f35cfa14319a6ecf5a59e4852c3 /src/osd
parentf2ac3dd79f5642d1128aeb0cd230cd4f1cced74e (diff)
sdl3: Enable TEXT_INPUT events, fixes text input fields in the UI. [R. Belmont]
Diffstat (limited to 'src/osd')
-rw-r--r--src/osd/sdl3/window.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osd/sdl3/window.cpp b/src/osd/sdl3/window.cpp
index 3262845fc58..5b9881db990 100644
--- a/src/osd/sdl3/window.cpp
+++ b/src/osd/sdl3/window.cpp
@@ -900,6 +900,8 @@ int sdl_window_info::complete_create()
set_platform_window(sdlwindow);
renderer_create();
+ SDL_StartTextInput(sdlwindow);
+
if (fullscreen() && video_config.switchres)
{
const SDL_DisplayMode *mode = SDL_GetWindowFullscreenMode(platform_window());