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.

--HG--
extra : rebase_source : 1343066a8e60de7731c864b3d940351747acb58c
This commit is contained in:
Jørgen P. Tjernø 2014-04-15 13:53:07 -07:00
parent d1263a074d
commit f9029796d5

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