This commit is contained in:
Max Thrun 2025-01-19 07:30:57 +00:00 committed by GitHub
commit eead262a91
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;