# HG changeset patch # User Sam Lantinga # Date 1259663641 0 # Node ID 919d88c202cf6d428fabecd47ada9f05f50016d0 # Parent 7931094e4c4811bb052086d7bcf991ed0e2d1e7a Allow mirrored displays, but only the primary display in a mirrored set. diff -r 7931094e4c48 -r 919d88c202cf src/video/cocoa/SDL_cocoamodes.m --- a/src/video/cocoa/SDL_cocoamodes.m Tue Dec 01 09:04:28 2009 +0000 +++ b/src/video/cocoa/SDL_cocoamodes.m Tue Dec 01 10:34:01 2009 +0000 @@ -160,7 +160,7 @@ SDL_DisplayMode mode; CFDictionaryRef moderef; - if (CGDisplayIsInMirrorSet(displays[i])) { + if (CGDisplayMirrorsDisplay(displays[i]) != kCGNullDirectDisplay) { continue; } moderef = CGDisplayCurrentMode(displays[i]);