mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
Fixed text input being active after SDL_StopTextInput() (thanks @AntTheAlchemist!)
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user