Provide the correct state of the on-screen keyboard to the API (patch from Sylvain)

This commit is contained in:
Sam Lantinga
2017-08-13 21:05:15 -07:00
parent 6ee661398d
commit e54eede265
4 changed files with 60 additions and 1 deletions

View File

@@ -357,7 +357,7 @@ Android_HasScreenKeyboardSupport(_THIS)
SDL_bool
Android_IsScreenKeyboardShown(_THIS, SDL_Window * window)
{
return SDL_IsTextInputActive();
return Android_JNI_IsScreenKeyboardShown();
}
void