mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-06-07 01:08:18 +08:00
Fix FZ not forwarding events to next hook (#3044)
This commit is contained in:
parent
34f814717b
commit
4734cb3428
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user