mirror of https://github.com/encounter/SDL.git
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:
parent
353feb5c76
commit
fc9e3a69b7
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue