Added initial NSScreen integration.

This (tentatively) fixes the bug of full screen windows on OS X always
opening on the primary monitor.
This commit is contained in:
Camilla Berglund
2013-04-17 23:07:44 +02:00
parent 130f07d8c3
commit 57751a5494
7 changed files with 42 additions and 15 deletions
+3 -2
View File
@@ -119,8 +119,9 @@ typedef struct _GLFWlibraryNS
//------------------------------------------------------------------------
typedef struct _GLFWmonitorNS
{
CGDirectDisplayID displayID;
CGDisplayModeRef previousMode;
CGDirectDisplayID displayID;
CGDisplayModeRef previousMode;
id screen;
} _GLFWmonitorNS;