CGDisplayCapture and display sleep

Christopher Hunt huntc at internode.on.net
Sun Feb 4 23:30:26 PST 2007


Hi there,

Can anyone confirm that CGDisplayCapture prevents a display from  
sleeping? I'm guessing that this is the case as I'm entering full  
screen mode (full screen gl context) and my "pmset -a force  
displaysleep 1" doesn't work when I'm in fullscreen mode.  
Additionally using the sys prefs UI to sleep the display after 1 min  
of inactivity doesn't appear to work either. All is fine if I'm not  
in full screen mode.

Thanks in advance.

Kind regards,
Christopher


More information about the MacOSX-dev mailing list