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:
J?rgen P. Tjern? 2014-04-15 13:53:07 -07:00
parent 353feb5c76
commit fc9e3a69b7
1 changed files with 1 additions and 0 deletions

View File

@ -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];