|
@@ -142,6 +142,8 @@ void _glfwInputMonitorChange(void)
|
|
// This monitor was connected before, so re-use the existing
|
|
// This monitor was connected before, so re-use the existing
|
|
// monitor object to preserve its address and user pointer
|
|
// monitor object to preserve its address and user pointer
|
|
|
|
|
|
|
|
+ // TODO: Transfer monitor properties
|
|
|
|
+
|
|
_glfwDestroyMonitor(monitors[i]);
|
|
_glfwDestroyMonitor(monitors[i]);
|
|
monitors[i] = _glfwLibrary.monitors[j];
|
|
monitors[i] = _glfwLibrary.monitors[j];
|
|
_glfwLibrary.monitors[j] = NULL;
|
|
_glfwLibrary.monitors[j] = NULL;
|