Fixed sleeping monitors being excluded from list.

Closes #430.
This commit is contained in:
Camilla Berglund
2015-03-19 16:20:03 +01:00
parent 1d7898b5ea
commit 29b40112c2
2 changed files with 1 additions and 3 deletions
-3
View File
@@ -264,9 +264,6 @@ _GLFWmonitor** _glfwPlatformGetMonitors(int* count)
{
int j;
if (CGDisplayIsAsleep(displays[i]))
continue;
CGDirectDisplayID screenDisplayID = CGDisplayMirrorsDisplay(displays[i]);
if (screenDisplayID == kCGNullDirectDisplay)
screenDisplayID = displays[i];