Skip to content

Commit

Permalink
MBInsomnia allows display to sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Sep 30, 2012
1 parent 0d53d76 commit 4399034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MBInsomnia.m
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ - (void)dealloc {


- (void)on { - (void)on {
if (!assertionID) { if (!assertionID) {
IOPMAssertionCreateWithName(kIOPMAssertionTypeNoDisplaySleep, kIOPMAssertionLevelOn, CFSTR("Making a rackit."), &assertionID); IOPMAssertionCreateWithName(kIOPMAssertionTypeNoIdleSleep, kIOPMAssertionLevelOn, CFSTR("Making a rackit."), &assertionID);
} }
} }


Expand Down

0 comments on commit 4399034

Please sign in to comment.