mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 18:53:37 +02:00
Use NSActivityUserInitiated instead of NSActivityBackground
This commit is contained in:
parent
6e54ff30bd
commit
de5da65757
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
#import <AppKit/AppKit.h>
|
||||
|
||||
AppNapDisabler::AppNapDisabler() {
|
||||
_activity = [[NSProcessInfo processInfo] beginActivityWithOptions:NSActivityBackground reason:@"Audio is in use"];
|
||||
_activity = [[NSProcessInfo processInfo] beginActivityWithOptions:NSActivityUserInitiated reason:@"Audio is in use"];
|
||||
[_activity retain];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue