SDL_TextInputEvent.windowID

< The window with keyboard focus, if any

struct SDL_TextInputEvent
SDL_WindowID windowID;

Meta