mirror of
https://github.com/glfw/glfw.git
synced 2024-11-25 06:04:34 +00:00
Compare commits
2 Commits
eda79a46ff
...
73a9eed144
Author | SHA1 | Date | |
---|---|---|---|
|
73a9eed144 | ||
|
8fcf59f883 |
@ -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