In SDLSurface, the window insets are queried anytime they change and the combined inset values are reported to the native layer for later use in SDL_GetWindowSafeArea. However, the queried insets do not include any regions inset for the onscreen keyboard. Is this intentional?
There doesn’t appear to be any other way to get this information via SDL, which is effectively requiring me to add my own Android-specific plumbing (or modify my copy of SDLSurface.java) to retrieve it.
I put up Include Android IME in Window Inset calculation by tophyr · Pull Request #14883 · libsdl-org/SDL · GitHub to add this functionality, but again, I’m mainly wondering if I’m misunderstanding something. The “oversight” here seems large enough that I’m doubting myself.