diff --git a/src/cocoa_monitor.m b/src/cocoa_monitor.m index 6c7315bd..48c20d4b 100644 --- a/src/cocoa_monitor.m +++ b/src/cocoa_monitor.m @@ -320,6 +320,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;