Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Desktop systems need SDL_StartTextInput by default... #183

Open
icculus opened this issue Jul 4, 2024 · 1 comment
Open

Desktop systems need SDL_StartTextInput by default... #183

icculus opened this issue Jul 4, 2024 · 1 comment

Comments

@icculus
Copy link
Collaborator

icculus commented Jul 4, 2024

In SDL2, SDL_StartTextInput is running by default on "desktop" systems (basically things that aren't phones in this case?).

Right now, SDL_TEXTINPUT events aren't delivered to SDL2 apps on these platforms out of the gate, since SDL3 defaults text input to off for everyone.

We need to decide if this is a platform that should have had it on (or maybe its easier to ifndef for iOS and Android?), and call SDL3_StartTextInput() at the end of SDL_CreateWindow (or maybe at the end of the first created window...? I'm not sure.)

@slouken
Copy link
Collaborator

slouken commented Jul 4, 2024

Yes, we should replicate the logic that SDL2 had, after creating a window.

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

No branches or pull requests

2 participants