This commit is contained in:
Max Thrun 2024-05-27 12:51:33 +08:00 committed by GitHub
commit eda79a46ff
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;