mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 13:15:10 +00:00
Mac: Don't prompt to reopen windows after crash.
We don't support state serialization / resume, so disable the prompt that pops up asking if you want to reopen the windows.
This commit is contained in:
@@ -282,6 +282,7 @@ Cocoa_RegisterApp(void)
|
||||
NSDictionary *appDefaults = [[NSDictionary alloc] initWithObjectsAndKeys:
|
||||
[NSNumber numberWithBool:NO], @"AppleMomentumScrollSupported",
|
||||
[NSNumber numberWithBool:NO], @"ApplePressAndHoldEnabled",
|
||||
[NSNumber numberWithBool:YES], @"ApplePersistenceIgnoreState",
|
||||
nil];
|
||||
[[NSUserDefaults standardUserDefaults] registerDefaults:appDefaults];
|
||||
[appDefaults release];
|
||||
|
||||
Reference in New Issue
Block a user