Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Call SDL_StopTextInput() during init.
Otherwise, macOS might pop up a choose-an-accented-letter window if you hold down a key, which looks really weird in an FPS. I had never seen this happen before, so it's not clear why this has to be done here or if it was a fluke or something. But for now it works, and it's not like SDL 1.2 has proper text input anyhow.
- Loading branch information
Showing
2 changed files
with
3 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1112,6 +1112,8 @@ Init12Video(void) | |
return -1; | ||
} | ||
|
||
SDL20_StopTextInput(); | ||
|
||
return 0; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters