I maybe misunderstanding, but maybe [active] or its source code may help
you.
--
David Shimamoto
> Hi all,
>
> Anyone know how to tell (on OS X) if pd is in the background or
> foreground from C? I'm messing with Thomas' [wacom] external, trying to
> get it to keep the tablet disconnected from the cursor, but it resets
> every time pd goes to background. So, if I can figure out from the
> external when pd goes back to the foreground, I can reset it there, at
> least.
>
> regards,
> Rich
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list