> On Sep 11, 2010, at 10:52 AM, Trygve Inda wrote:
> 
>> Is there a way to be notified when the graphic card is switched?
> 
> NSApplicationDidChangeScreenParametersNotification
> 
> That fires when the GPU is switched, as well as well displays are rearranged
> or reconfigured.
> 
> Regards,
> Ken

Thanks Ken...

When it is running on the slow card, the CGDirectDisplayID will be x, and on
the fast card it will be y. Is there anyway to derive x from y or y from x?

I am trying to be able to uniquely identify screens even before/after a
processor switch.

Thanks,

Trygve


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to