Re: Prevent screen saver from starting, but don't prevent computer sleep
Re: Prevent screen saver from starting, but don't prevent computer sleep
- Subject: Re: Prevent screen saver from starting, but don't prevent computer sleep
- From: Gabriel Zachmann via Cocoa-dev <email@hidden>
- Date: Mon, 29 Jun 2020 08:51:49 +0200
> but the header for that function says it can be replaced by
> IOPMAssertionCreateWithName(). I haven’t looked at that in detail or used it
> myself, but one of the defines for that function is
> ‘kIOPMAssertionTypePreventUserIdleDisplaySleep’, which appears to do the same
> thing as the old
Would that also prevent the compute from going to sleep?
Also, I do not want to prevent the display from going to sleep.
I want to prevent the screen saver to kick in.
Best regards, Gabriel
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden