mirror of
https://github.com/glfw/glfw.git
synced 2025-04-05 05:25:07 +00:00
Merge 8fcf59f883
into e7ea71be03
This commit is contained in:
commit
eead262a91
1 changed files with 3 additions and 0 deletions
|
@ -319,6 +319,9 @@ void _glfwPollMonitorsCocoa(void)
|
|||
if (CGDisplayIsAsleep(displays[i]))
|
||||
continue;
|
||||
|
||||
if (CGDisplayMirrorsDisplay(displays[i]) != kCGNullDirectDisplay)
|
||||
continue;
|
||||
|
||||
const uint32_t unitNumber = CGDisplayUnitNumber(displays[i]);
|
||||
NSScreen* screen = nil;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue