Mac: Turn off momentum-based scrolling.

This commit is contained in:
Sam Lantinga committed 2013-09-13 17:41:17 -07:00
1 parent 37509cf3e3
commit e231d5b450
1 file changed
+3
+3
View File
@@ -231,6 +231,9 @@ Cocoa_RegisterApp(void)
CreateApplicationMenus(); CreateApplicationMenus();
} }
[NSApp finishLaunching]; [NSApp finishLaunching];
NSDictionary *appDefaults = [NSDictionary dictionaryWithObject:@"NO" forKey:@"AppleMomentumScrollSupported"];
[[NSUserDefaults standardUserDefaults] registerDefaults:appDefaults];
} }
if (NSApp && ![NSApp delegate]) { if (NSApp && ![NSApp delegate]) {
[NSApp setDelegate:[[SDLAppDelegate alloc] init]]; [NSApp setDelegate:[[SDLAppDelegate alloc] init]];