mirror of
https://github.com/glfw/glfw.git
synced 2024-11-25 19:42:00 +00:00
Win32: Fix for button release behaviour on drag
This commit is contained in:
parent
d6eff8fa70
commit
9514faf7c1
@ -1773,6 +1773,7 @@ void _glfwDragWindowWin32(_GLFWwindow* window)
|
|||||||
{
|
{
|
||||||
ReleaseCapture();
|
ReleaseCapture();
|
||||||
SendMessage(window->win32.handle, WM_NCLBUTTONDOWN, HTCAPTION, 0);
|
SendMessage(window->win32.handle, WM_NCLBUTTONDOWN, HTCAPTION, 0);
|
||||||
|
_glfwInputMouseClick(window, GLFW_MOUSE_BUTTON_LEFT, GLFW_RELEASE, getKeyMods());
|
||||||
}
|
}
|
||||||
|
|
||||||
void _glfwSetWindowMonitorWin32(_GLFWwindow* window,
|
void _glfwSetWindowMonitorWin32(_GLFWwindow* window,
|
||||||
|
Loading…
Reference in New Issue
Block a user