mirror of
https://github.com/encounter/SDL.git
synced 2025-05-17 12:51:24 +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:
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…
x
Reference in New Issue
Block a user