mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-25 09:17:12 +01: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…
Reference in New Issue
Block a user