[Xquartz-dev] LSBackgroundOnly at runtime

Jeremy Huddleston jeremyhu at berkeley.edu
Tue Dec 4 19:44:26 PST 2007


On Dec 4, 2007, at 18:26, Peter O'Gorman wrote:

> Pretty sure that Ben posted code to do that:
>
> +  ProcessSerialNumber psn = { 0, kCurrentProcess };
> +  fprintf(stderr, "Calling TransformProcessType\n");
> +  TransformProcessType(&psn,  
> kProcessTransformToForegroundApplication);
> +  SetFrontProcess(&psn);

Thanks.  I thought I saw that before but for the life of me couldn't  
find the email.  I'm glad someone is more on the ball than me.

Thanks,
Jeremy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3040 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/xquartz-dev/attachments/20071204/bfe78233/smime.bin


More information about the Xquartz-dev mailing list