mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-21 16:37:20 +01:00
Enabled secure restorable state.
(cherry picked from commit 84380a94f776c8c1e7786d2eb3fb811789f42639)
This commit is contained in:
parent
2936883335
commit
2653e5d530
@ -169,6 +169,10 @@ static NSCursor *cursorFromSelector(SEL selector, SEL fallback = nil) {
|
||||
|
||||
@implementation PandemoniumApplicationDelegate
|
||||
|
||||
- (BOOL)applicationSupportsSecureRestorableState:(NSApplication *)app {
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (void)forceUnbundledWindowActivationHackStep1 {
|
||||
// Step 1: Switch focus to macOS SystemUIServer process.
|
||||
// Required to perform step 2, TransformProcessType will fail if app is already the in focus.
|
||||
|
Loading…
Reference in New Issue
Block a user