Fixed text input being active after SDL_StopTextInput() (thanks @AntTheAlchemist!)
parent
53ade19430
commit
07c49d1a67
|
@ -4817,6 +4817,7 @@ void SDL_StopTextInput(void)
|
|||
if (_this->StopTextInput) {
|
||||
_this->StopTextInput(_this);
|
||||
}
|
||||
_this->text_input_active = SDL_FALSE;
|
||||
|
||||
/* Hide the on-screen keyboard, if desired */
|
||||
const char *hint = SDL_GetHint(SDL_HINT_ENABLE_SCREEN_KEYBOARD);
|
||||
|
|
Loading…
Reference in New Issue