Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Allow mirrored displays, but only the primary display in a mirrored set.
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Dec 1, 2009
1 parent 6a0f585 commit 7040de6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/cocoa/SDL_cocoamodes.m
Expand Up @@ -160,7 +160,7 @@ - (void) setFrame:(NSRect)frame;
SDL_DisplayMode mode;
CFDictionaryRef moderef;

if (CGDisplayIsInMirrorSet(displays[i])) {
if (CGDisplayMirrorsDisplay(displays[i]) != kCGNullDirectDisplay) {
continue;
}
moderef = CGDisplayCurrentMode(displays[i]);
Expand Down

0 comments on commit 7040de6

Please sign in to comment.