mirror of
https://github.com/glfw/glfw.git
synced 2025-12-19 21:51:56 +00:00
Compare commits
2 Commits
520ac02ab6
...
9407d07d31
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9407d07d31 | ||
|
|
8fcf59f883 |
@ -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…
Reference in New Issue
Block a user