From 363afe111b198930e961a1900e1965267b62ca5b Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Sat, 5 Dec 2020 15:22:48 +0100 Subject: [PATCH] source/Platform/Win32/Win32EventQueue.cpp: should not return status from DispatchMessage() this can falsely signal that we have translated a win32 event to engine event when in fact we have not. --- source/Platform/Win32/Win32EventQueue.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/Platform/Win32/Win32EventQueue.cpp b/source/Platform/Win32/Win32EventQueue.cpp index 38ab96d..8340521 100644 --- a/source/Platform/Win32/Win32EventQueue.cpp +++ b/source/Platform/Win32/Win32EventQueue.cpp @@ -73,7 +73,8 @@ LRESULT Win32EventQueue::processMessage(MSG msg, Event& event) } // Message was not intercepted. Pass down to window. - return DispatchMessage(&msg); + DispatchMessage(&msg); + return 1; } } // namespace sp