mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 16:52:57 +00:00
Restructure monitor enumeration
This way is both kinder on event-based enumeration and less work to unwind allocations for when properly implementing GLFW_OUT_OF_MEMORY.
This commit is contained in:
+1
-1
@@ -910,7 +910,7 @@ static void processEvent(XEvent *event)
|
||||
if (event->type == _glfw.x11.randr.eventBase + RRNotify)
|
||||
{
|
||||
XRRUpdateConfiguration(event);
|
||||
_glfwInputMonitorChange();
|
||||
_glfwPollMonitorsX11();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user