Fix #63
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user