• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: notification on screensaver unlock ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: notification on screensaver unlock ?


  • Subject: Re: notification on screensaver unlock ?
  • From: Andrew Farmer <email@hidden>
  • Date: Fri, 19 Jan 2007 12:34:42 -0800

On 19 Jan 07, at 12:06, Will Norris wrote:
This last step is the only problem... how can I determine when the screen has been unlocked? At first I tried listening for the com.apple.screensaver.didstop notifcation. The problem there is that the screensaver stops (and sends the notification) whenever the login box is displayed, regardless of whether the authentication was successful or not.

I've run into this myself. A bit of otooling around suggests that the answer lies in an undocumented CGS call "CGSRegisterNotifyProc". Argh.
_______________________________________________


Cocoa-dev mailing list (email@hidden)

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


References: 
 >notification on screensaver unlock ? (From: Will Norris <email@hidden>)

  • Prev by Date: notification on screensaver unlock ?
  • Next by Date: Re: Getting image info without loading entire image
  • Previous by thread: notification on screensaver unlock ?
  • Next by thread: CoreVideo Display Link Callback function
  • Index(es):
    • Date
    • Thread