Permalink
Browse files

MBInsomnia allows display to sleep

  • Loading branch information...
1 parent 0d53d76 commit 43990344c61da74adf92b820f3a2b00ebaab7927 @mxcl committed Sep 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 MBInsomnia.m
View
@@ -9,7 +9,7 @@ - (void)dealloc {
- (void)on {
if (!assertionID) {
- IOPMAssertionCreateWithName(kIOPMAssertionTypeNoDisplaySleep, kIOPMAssertionLevelOn, CFSTR("Making a rackit."), &assertionID);
+ IOPMAssertionCreateWithName(kIOPMAssertionTypeNoIdleSleep, kIOPMAssertionLevelOn, CFSTR("Making a rackit."), &assertionID);
}
}

0 comments on commit 4399034

Please sign in to comment.