mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 18:42:26 +00:00
sdlayer: Call SDL_StopTextInput immediately after initialization so IMEs do not interfere with gameplay keypresses.
An example of is on Mac, where holding the 'A' key caused a small overlay with accented forms of the character to appear. git-svn-id: https://svn.eduke32.com/eduke32@5969 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
be22de78ad
commit
735405ed7a
1 changed files with 4 additions and 0 deletions
|
@ -597,6 +597,10 @@ int32_t initsystem(void)
|
|||
#endif
|
||||
}
|
||||
|
||||
#if SDL_MAJOR_VERSION > 1
|
||||
SDL_StopTextInput();
|
||||
#endif
|
||||
|
||||
atexit(uninitsystem);
|
||||
|
||||
frameplace = 0;
|
||||
|
|
Loading…
Reference in a new issue