Skip to content

Commit

Permalink
Mac: Turn off momentum-based scrolling.
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Sep 14, 2013
1 parent 37509cf commit e231d5b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/video/cocoa/SDL_cocoaevents.m
Expand Up @@ -231,6 +231,9 @@ - (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filenam
CreateApplicationMenus();
}
[NSApp finishLaunching];
NSDictionary *appDefaults = [NSDictionary dictionaryWithObject:@"NO" forKey:@"AppleMomentumScrollSupported"];
[[NSUserDefaults standardUserDefaults] registerDefaults:appDefaults];

}
if (NSApp && ![NSApp delegate]) {
[NSApp setDelegate:[[SDLAppDelegate alloc] init]];
Expand Down

0 comments on commit e231d5b

Please sign in to comment.