On Jun 1, 2009, at 1:38 PM, Mikael Grev wrote:
CGRegisterScreenRefreshCallback (MyScreenRefreshCallback, NULL);
From the docs:
The callback function you register is invoked only if your application has an active event loop. The callback is invoked in the same thread of execution that is processing events within your application.
That implies to me that it needs to be registered on the main thread or it won't work.
b.bum _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
