Re: DisplayReconfigurationCallBack with nil cgDisplayID

2012-08-23 Thread Michael Babin
On Aug 23, 2012, at 8:55 AM, Trygve Inda wrote: > Very occasionally when my MyDisplayReconfigurationCallBack is called: > > void DisplayReconfigurationCallBack (CGDirectDisplayID cgDisplayID, > CGDisplayChangeSummaryFlags flags, void *userInfo) > > The system sends me a nil value for cgDisplayI

DisplayReconfigurationCallBack with nil cgDisplayID

2012-08-23 Thread Trygve Inda
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 t