Improved handling of primary monitor.

This commit is contained in:
Camilla Berglund
2012-09-13 17:46:40 +02:00
parent d21e79642b
commit 20a49a7eee
5 changed files with 31 additions and 4 deletions
+1
View File
@@ -465,6 +465,7 @@ _GLFWmonitor** _glfwPlatformGetMonitors(int* count)
ci = XRRGetCrtcInfo(_glfwLibrary.X11.display, sr, oi->crtc);
monitors[found] = _glfwCreateMonitor(oi->name,
i == 0,
oi->mm_width, oi->mm_height,
ci->x, ci->y);