Commit 30489c5a authored by Camilla Löwy's avatar Camilla Löwy
Browse files

X11: Expose zero monitor for functional headless

Fixes #1147.
parent 390a66d2
......@@ -203,8 +203,7 @@ void _glfwPollMonitorsX11(void)
if (!_glfw.monitorCount)
const int widthMM = DisplayWidthMM(_glfw.x11.display, _glfw.x11.screen);
const int heightMM = DisplayHeightMM(_glfw.x11.display, _glfw.x11.screen);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment