Skip to content

Include Android IME in Window Inset calculation#14883

Open
tophyr wants to merge 1 commit intolibsdl-org:mainfrom
tophyr:pr/add-ime-insets
Open

Include Android IME in Window Inset calculation#14883
tophyr wants to merge 1 commit intolibsdl-org:mainfrom
tophyr:pr/add-ime-insets

Conversation

@tophyr
Copy link

@tophyr tophyr commented Jan 21, 2026

Description

Android's IME (software keyboard) reports its covered region of the screen via the Window Insets functionality. When it is open, it is displayed over the application - so there needs to be a way for the application to determine what area is uncovered. The window insets (and SDL_GetWindowSafeArea) mechanism seems to be the best avenue for this.

Android's IME (software keyboard) reports its covered region of the screen via the Window Insets functionality. When it is open, it is displayed over the application - so there needs to be a way for the application to determine what area is uncovered. The window insets (and SDL_GetWindowSafeArea) mechanism seems to be the best avenue for this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant