Fix FZ not forwarding events to next hook (#3044)

This commit is contained in:
Arjun Balgovind
2020-05-15 09:37:11 -07:00
committed by GitHub
parent 34f814717b
commit 4734cb3428

View File

@@ -208,7 +208,10 @@ private:
event.wParam = wParam;
if (s_instance)
{
return s_instance->HandleKeyboardHookEvent(&event);
if (s_instance->HandleKeyboardHookEvent(&event) == 1)
{
return 1;
}
}
}
return CallNextHookEx(NULL, nCode, wParam, lParam);