Skip to content
Browse files

Mac: Fix inconsistent repeat of SDL_TEXTINPUT events on 10.7+

Due to the new "tap and hold" IME in Mountain Lion and above, we were getting
inconsistent repeat of SDL_TEXTINPUT events. Disabling that functionality (since
you can't see the popover anyway) solves this.

  • Loading branch information
jorgenpt committed Feb 25, 2014
1 parent 6ee12d6 commit d6b1218b464e0e11c23aef3f683a56988798d3ba

File 1 of 1 in d6b1218

@@ -271,7 +271,10 @@ - (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filenam
[NSApp finishLaunching];
NSDictionary *appDefaults = [NSDictionary dictionaryWithObject:@"NO" forKey:@"AppleMomentumScrollSupported"];
NSDictionary *appDefaults = @{
@"AppleMomentumScrollSupported": @NO,
@"ApplePressAndHoldEnabled": @NO,
[[NSUserDefaults standardUserDefaults] registerDefaults:appDefaults];


0 comments on commit d6b1218

Please sign in to comment.