Add tracking of which window 'owns' a monitor

This commit is contained in:
Camilla Berglund
2016-02-23 12:34:35 +01:00
parent ea888114fa
commit 99c925efd8
5 changed files with 60 additions and 27 deletions
+5
View File
@@ -158,6 +158,11 @@ void _glfwInputMonitorChange(void)
_glfwFreeMonitors(monitors, monitorCount);
}
void _glfwInputMonitorWindowChange(_GLFWmonitor* monitor, _GLFWwindow* window)
{
monitor->window = window;
}
//////////////////////////////////////////////////////////////////////////
////// GLFW internal API //////