mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 11:48:09 +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>
|
#import <AppKit/AppKit.h>
|
||||||
|
|
||||||
AppNapDisabler::AppNapDisabler() {
|
AppNapDisabler::AppNapDisabler() {
|
||||||
_activity = [[NSProcessInfo processInfo] beginActivityWithOptions:NSActivityBackground reason:@"Audio is in use"];
|
_activity = [[NSProcessInfo processInfo] beginActivityWithOptions:NSActivityUserInitiated reason:@"Audio is in use"];
|
||||||
[_activity retain];
|
[_activity retain];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue