From cfec5bb8018729e1f290e1570283e3db1b14ec34 Mon Sep 17 00:00:00 2001 From: stefnotch Date: Thu, 12 Oct 2023 20:43:28 +0200 Subject: [PATCH] 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. --- Source/Engine/Platform/Windows/WindowsInput.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/Engine/Platform/Windows/WindowsInput.cpp b/Source/Engine/Platform/Windows/WindowsInput.cpp index 80bff7ca5..0ec0b5e25 100644 --- a/Source/Engine/Platform/Windows/WindowsInput.cpp +++ b/Source/Engine/Platform/Windows/WindowsInput.cpp @@ -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;