From 9514faf7c1e4008ede8b33d08d816c76dddcbfdf Mon Sep 17 00:00:00 2001 From: Naveen Karuthedath <1267337+envyen@users.noreply.github.com> Date: Thu, 21 Dec 2023 13:36:46 +0530 Subject: [PATCH] Win32: Fix for button release behaviour on drag --- src/win32_window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/win32_window.c b/src/win32_window.c index 3793cff6..cae7b181 100644 --- a/src/win32_window.c +++ b/src/win32_window.c @@ -1773,6 +1773,7 @@ void _glfwDragWindowWin32(_GLFWwindow* window) { ReleaseCapture(); SendMessage(window->win32.handle, WM_NCLBUTTONDOWN, HTCAPTION, 0); + _glfwInputMouseClick(window, GLFW_MOUSE_BUTTON_LEFT, GLFW_RELEASE, getKeyMods()); } void _glfwSetWindowMonitorWin32(_GLFWwindow* window,