diff --git a/src/client/input/sdl3.c b/src/client/input/sdl3.c index cd7b711e..322003b9 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 dc42241c..de9fdb2d 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) {