From beb7e5909f3c9a62c8d5f0233f12c633dd651aa1 Mon Sep 17 00:00:00 2001
From: Camilla Berglund <elmindreda@elmindreda.org>
Date: Tue, 21 Jan 2014 15:17:28 +0100
Subject: [PATCH] Added comment on headless Macs.

---
 src/cocoa_monitor.m | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/cocoa_monitor.m b/src/cocoa_monitor.m
index a44e8fb5..cdf87127 100644
--- a/src/cocoa_monitor.m
+++ b/src/cocoa_monitor.m
@@ -52,6 +52,7 @@ static const char* getDisplayName(CGDirectDisplayID displayID)
     if (!names || !CFDictionaryGetValueIfPresent(names, CFSTR("en_US"),
                                                  (const void**) &value))
     {
+        // This may happen if a desktop Mac is running headless
         _glfwInputError(GLFW_PLATFORM_ERROR, "Failed to retrieve display name");
 
         CFRelease(info);