GLFW: Add support for mouse input transparency

From upstream: d285a9fdeb.
This commit is contained in:
Luflosi
2020-07-16 21:15:00 +02:00
parent df48e2f9e2
commit d0c6ce9fd7
10 changed files with 127 additions and 2 deletions

4
glfw/null_window.c vendored
View File

@@ -372,6 +372,10 @@ void _glfwPlatformSetWindowFloating(_GLFWwindow* window, bool enabled)
window->null.floating = enabled;
}
void _glfwPlatformSetWindowMousePassthrough(_GLFWwindow* window UNUSED, bool enabled UNUSED)
{
}
float _glfwPlatformGetWindowOpacity(_GLFWwindow* window)
{
return window->null.opacity;