Seems to fix #63 , but it might have small side-effects if the mouse position tracking is not expected to go outside the client area.
This commit is contained in:
stefnotch
2023-10-12 20:43:28 +02:00
committed by GitHub
parent bfab9d68db
commit cfec5bb801

View File

@@ -196,6 +196,12 @@ bool WindowsMouse::WndProc(Window* window, const UINT msg, WPARAM wParam, LPARAM
switch (msg)
{
case WM_MOUSEMOVE:
{
OnMouseMove(mousePos, window);
result = true;
break;
}
case WM_NCMOUSEMOVE:
{
OnMouseMove(mousePos, window);
result = true;