mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
Mac SDL: Remove an annoying popup that happens when holding keys on some SDL versions
This commit is contained in:
parent
3f32d8e304
commit
6a91af7123
@ -1398,6 +1398,10 @@ int main(int argc, char *argv[]) {
|
||||
// Ensure that the swap interval is set after context creation (needed for kmsdrm)
|
||||
SDL_GL_SetSwapInterval(1);
|
||||
|
||||
// Avoid the IME popup when holding keys. This doesn't affect all versions of SDL.
|
||||
// TODO: Enable it in text input fields
|
||||
SDL_StopTextInput();
|
||||
|
||||
InitSDLAudioDevice();
|
||||
|
||||
if (joystick_enabled) {
|
||||
|
Loading…
Reference in New Issue
Block a user