|
@@ -6,7 +6,7 @@ void PowerComponentMac::doDisableScreensaver()
|
|
if (m_assertion == 0)
|
|
if (m_assertion == 0)
|
|
{
|
|
{
|
|
CFStringRef why = CFSTR("tv.plex.player");
|
|
CFStringRef why = CFSTR("tv.plex.player");
|
|
- IOPMAssertionCreateWithName(kIOPMAssertionTypeNoDisplaySleep,
|
|
|
|
|
|
+ IOPMAssertionCreateWithName(kIOPMAssertionTypePreventUserIdleDisplaySleep,
|
|
kIOPMAssertionLevelOn,
|
|
kIOPMAssertionLevelOn,
|
|
why,
|
|
why,
|
|
&m_assertion);
|
|
&m_assertion);
|