diff --git a/src/cocoa_monitor.m b/src/cocoa_monitor.m index 1abf6ff5..ebeefbd3 100644 --- a/src/cocoa_monitor.m +++ b/src/cocoa_monitor.m @@ -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;