mirror of
https://github.com/glfw/glfw.git
synced 2025-10-22 08:02:27 +00:00
Merge 8fcf59f883
into 8e15281d34
This commit is contained in:
commit
9407d07d31
@ -319,6 +319,9 @@ void _glfwPollMonitorsCocoa(void)
|
|||||||
if (CGDisplayIsAsleep(displays[i]))
|
if (CGDisplayIsAsleep(displays[i]))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (CGDisplayMirrorsDisplay(displays[i]) != kCGNullDirectDisplay)
|
||||||
|
continue;
|
||||||
|
|
||||||
const uint32_t unitNumber = CGDisplayUnitNumber(displays[i]);
|
const uint32_t unitNumber = CGDisplayUnitNumber(displays[i]);
|
||||||
NSScreen* screen = nil;
|
NSScreen* screen = nil;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user