Remove _glfwInputWindowMonitor uses in wl_window.c

This commit is contained in:
A. Tombs 2019-05-28 01:28:38 +01:00 committed by GitHub
parent 5950382616
commit a996a26d00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1015,7 +1015,7 @@ void _glfwPlatformRestoreWindow(_GLFWwindow* window)
// There is no way to unset minimized, or even to know if we are
// minimized, so there is nothing to do in this case.
}
_glfwInputWindowMonitor(window, NULL);
window->monitor = NULL;
window->wl.maximized = GLFW_FALSE;
}
@ -1080,7 +1080,7 @@ void _glfwPlatformSetWindowMonitor(_GLFWwindow* window,
if (!_glfw.wl.decorationManager)
createDecorations(window);
}
_glfwInputWindowMonitor(window, monitor);
window->monitor = monitor;
}
int _glfwPlatformWindowFocused(_GLFWwindow* window)