DisplayReconfigurationCallBack with nil cgDisplayID
DisplayReconfigurationCallBack with nil cgDisplayID
- Subject: DisplayReconfigurationCallBack with nil cgDisplayID
- From: Trygve Inda <email@hidden>
- Date: Thu, 23 Aug 2012 06:55:33 -0700
- Thread-topic: DisplayReconfigurationCallBack with nil cgDisplayID
Very occasionally when my MyDisplayReconfigurationCallBack is called:
void DisplayReconfigurationCallBack (CGDirectDisplayID cgDisplayID,
CGDisplayChangeSummaryFlags flags, void *userInfo)
The system sends me a nil value for cgDisplayID
When I try to cycle through the array of NSScreen to find the one that
matches cgDisplayID it never finds it since 0 is not a valid cgDisplayID.
What is causing this?
I mostly see it on Thunderbolt Macs
Trygve
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden