[launchd-dev] LaunchAgent, fullscreen openGL and NSWindows
Toby Harris
toby-h at moving-picture.com
Thu Jan 6 06:32:45 PST 2011
Hello list,
I have a kiosk-style application that has run on OSX10.5 via a LaunchAgent with KeepAlive property set. Now in 10.6, I am seeing a very odd thing that I have isolated to launch via launchd plist. The app loads successfully, capturing the screen and rendering to a fullscreen openGL context. However, it also can create NSWindows and show these fullscreen instead. This functionality is just not working. I suspect this is a connection to the window server issue, but I have failed to find any similar issues reported on the net, or find the answer in TN2083 (not to say it isn't in there).
Here is the plist. I've tried adding LimitToSessionType Aqua and no difference. It lives in ~/Library/LaunchAgents. Any insight, solutions, debugging suggestions most welcome.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.mpc.MPCScreen</string>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>Program</key>
<string>/Users/mpcscreen/Library/Applications/MPSCREEN.app/Contents/MacOS/MPSCREEN</string>
</dict>
</plist>
Thanks,
Toby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/launchd-dev/attachments/20110106/0abdcdf9/attachment.html>
More information about the launchd-dev
mailing list