At Tue, 23 Feb 2016 11:46:37 -0500, George Neuner wrote:
> On Tue, 23 Feb 2016 08:06:34 -0700, Matthew Flatt
> <mfl...@cs.utah.edu> wrote:
> 
> >At Mon, 22 Feb 2016 18:55:59 -0500, George Neuner wrote:
> >> If you suspect App Nap, have you tried disabling it for DrRacket?
> >
> >That's worth a try, but App Nap should be disabled automatically by the
> >`racket/gui` library that DrRacket uses. The library calls the
> >`setActivationPolicy:` method of the `NSApplication` object with
> >`NSApplicationActivationPolicyAccessory`.
> [...]
> 
> I haven't written for OSX (any version) so I may be missing something,
> but I don't see documented anywhere that that affects napping at all.

Sorry! I pulled the wrong piece out of the relevant commit.

I believe App Nap is actually disabled by calling the
`beginActivityWithOptions:reason:` method of `NSProcessInfo` with
`NSActivityUserInitiated` (minus `NSActivityIdleSystemSleepDisabled`)
and never calling `endActivity:`.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to