1
0
Fork 0

Platform/Win32/Win32Keyboard: skip Win32MsgBuffer and handle event directly in handleMessage()

This commit is contained in:
Henrik Hautakoski 2020-02-01 11:26:37 +01:00
parent e75d373933
commit 390be8f740
No known key found for this signature in database
GPG key ID: 96765B12FEAC4745
3 changed files with 16 additions and 47 deletions

View file

@ -31,7 +31,7 @@ LRESULT Win32EventQueue::processMessage(MSG msg, Event& event)
OutputDebugString("WM_KEYDOWN\n");
//SetCapture(msg.hwnd);
if (Win32Keyboard::handleMessage(msg)) {
if (Win32Keyboard::handleMessage(msg, event)) {
// Keyboard did handle the message.
return 0;
}