From 44775e46440983f8a8ecaa3ea91606b98144dddd Mon Sep 17 00:00:00 2001 From: Luflosi Date: Thu, 16 Jul 2020 23:55:24 +0200 Subject: [PATCH] GLFW: Remove no-op call at window creation From upstream: https://github.com/glfw/glfw/commit/1095a43708d98190afdc5dfbfc40086c333f7f72. --- glfw/window.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/glfw/window.c b/glfw/window.c index 712d65844..78378d914 100644 --- a/glfw/window.c +++ b/glfw/window.c @@ -291,7 +291,8 @@ GLFWAPI GLFWwindow* glfwCreateWindow(int width, int height, } } - _glfwPlatformSetWindowMousePassthrough(window, wndconfig.mousePassthrough); + if (wndconfig.mousePassthrough) + _glfwPlatformSetWindowMousePassthrough(window, true); return (GLFWwindow*) window; }