mirror of https://github.com/debauchee/barrier.git
fix: wake up on mac when screen locked
This commit is contained in:
parent
653e4badeb
commit
b36416bb33
|
@ -847,6 +847,8 @@ OSXScreen::enter()
|
|||
IORegistryEntrySetCFProperty(entry, CFSTR("IORequestIdle"), kCFBooleanFalse);
|
||||
IOObjectRelease(entry);
|
||||
}
|
||||
IOPMAssertionID assertionID;
|
||||
IOPMAssertionDeclareUserActivity(CFSTR(""), kIOPMUserActiveLocal, &assertionID);
|
||||
|
||||
avoidSupression();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue