Renamed cursor window library struct member.

Since _glfwPlatformWindowFocused it has a more limited role.
This commit is contained in:
Camilla Berglund
2015-06-17 11:59:39 +02:00
parent 226f85efcb
commit cc4c232956
6 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -55,7 +55,7 @@ static void setCursorMode(_GLFWwindow* window, int newMode)
window->cursorMode = newMode;
if (_glfw.focusedWindow == window)
if (_glfw.cursorWindow == window)
{
if (oldMode == GLFW_CURSOR_DISABLED)
{
@@ -343,7 +343,7 @@ GLFWAPI void glfwSetCursorPos(GLFWwindow* handle, double xpos, double ypos)
_GLFW_REQUIRE_INIT();
if (_glfw.focusedWindow != window)
if (_glfw.cursorWindow != window)
return;
if (window->cursorMode == GLFW_CURSOR_DISABLED)