diff --git a/src/client/input/sdl3.c b/src/client/input/sdl3.c index cd7b711e2..322003b9b 100644 --- a/src/client/input/sdl3.c +++ b/src/client/input/sdl3.c @@ -2345,11 +2345,6 @@ IN_Init(void) } } -#if 0 - // needs an SDL_Window pointer now?? - SDL_StartTextInput(); -#endif - IN_Controller_Init(false); Com_Printf("------------------------------------\n\n"); diff --git a/src/client/vid/glimp_sdl3.c b/src/client/vid/glimp_sdl3.c index dc42241c1..de9fdb2d2 100644 --- a/src/client/vid/glimp_sdl3.c +++ b/src/client/vid/glimp_sdl3.c @@ -131,6 +131,9 @@ CreateSDLWindow(int flags, int fullscreen, int w, int h) if (window) { + /* enable text input */ + SDL_StartTextInput(window); + /* save current display as default */ if ((last_display = SDL_GetDisplayForWindow(window)) == 0) {