Skip navigation.
 
mlCGDisplayReconfigurationCallBack
FROM : Trygve Inda
DATE : Sun Mar 30 15:31:14 2008

> void MyDisplayReconfigurationCallBack (
>    CGDirectDisplayID display,
>    CGDisplayChangeSummaryFlags flags,
>    void *userInfo
> );
>
> Your callback function should avoid attempting to change display
> configurations, and should not raise exceptions or perform a non-local return
> such as calling longjmp.


Does this mean I should stuff display and flags into a dict and use
something like

- (void)performSelector:(SEL)aSelector withObject:(id)anArgument
afterDelay:(NSTimeInterval)delay

How can I ensure a longjmp is not used here?

Thanks,

Trygve

Related mailsAuthorDate
mlCGDisplayReconfigurationCallBack Trygve Inda Mar 30, 15:31
mlRe: CGDisplayReconfigurationCallBack Jean-Daniel Dupas Mar 30, 16:05
mlRe: CGDisplayReconfigurationCallBack Trygve Inda Apr 2, 00:12
mlRe: CGDisplayReconfigurationCallBack Jean-Daniel Dupas Apr 2, 01:19