summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2017-01-09 08:48:01 +0100
committerDamiano Galassi <[email protected]>2017-01-09 08:48:01 +0100
commitbcf44aad7103116507eedaa66ca8103c97b2d32b (patch)
tree0b78163cf03a16ae69d481df772b8337f7ef423a /macosx
parentb062c3b199cc6bb2cc33d6a28dacb6dc48c9c370 (diff)
MacGui: sleep prevention in HBCore should be on by default.
Diffstat (limited to 'macosx')
-rw-r--r--macosx/HBCore.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/macosx/HBCore.m b/macosx/HBCore.m
index baabcf75d..50b3e6cce 100644
--- a/macosx/HBCore.m
+++ b/macosx/HBCore.m
@@ -92,6 +92,7 @@ static void hb_error_handler(const char *errmsg)
if (self)
{
_name = @"HBCore";
+ _automaticallyPreventSleep = YES;
_state = HBStateIdle;
_updateTimerQueue = queue;
_titles = @[];