mirror of
https://github.com/glfw/glfw.git
synced 2026-09-18 22:55:46 +00:00
Improved handling of primary monitor.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user