Re: macdrv: implement getting and setting the screen saver state, version 2

2013-01-21 Thread C.W. Betts
On Jan 20, 2013, at 11:06 PM, Ken Thomases k...@codeweavers.com wrote: Hi, On Jan 20, 2013, at 2:00 PM, C.W. Betts wrote: This version implements changes and advice from Ken Thomases, including using kIOPMAssertionTypePreventUserIdleDisplaySleep on Lion and later. Also, some comments

Re: macdrv: implement getting and setting the screen saver state, version 2

2013-01-21 Thread Ken Thomases
On Jan 21, 2013, at 9:31 AM, C.W. Betts wrote: On Jan 20, 2013, at 11:06 PM, Ken Thomases k...@codeweavers.com wrote: I'm not sure it's correct that these are two different names for roughly the same thing. I think the two assertion types do slightly different things. NoDisplaySleep

Re: macdrv: implement getting and setting the screen saver state, version 2

2013-01-20 Thread Ken Thomases
Hi, On Jan 20, 2013, at 2:00 PM, C.W. Betts wrote: This version implements changes and advice from Ken Thomases, including using kIOPMAssertionTypePreventUserIdleDisplaySleep on Lion and later. Also, some comments were added. +//Get pre-Lion no display sleep counts