Skip to content

Commit

Permalink
Merge branch 'v1.1' into v2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Lexikos committed Aug 30, 2023
2 parents ab7c3f5 + 001be7a commit c4bd7ef
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion source/hook.cpp
Expand Up @@ -1801,7 +1801,12 @@ LRESULT LowLevelCommon(const HHOOK aHook, int aCode, WPARAM wParam, LPARAM lPara
this_key.no_suppress |= NO_SUPPRESS_NEXT_UP_EVENT;
return AllowKeyToGoToSystem;
}
else if (aVK == VK_LMENU || aVK == VK_RMENU)
// Fix for v1.1.37.02 and v2.0.6: The following is also done for LWin/RWin because otherwise,
// the system does not generate WM_SYSKEYDOWN (or even WM_KEYDOWN) messages for combinations
// that correspond to some global hotkeys, even though they aren't actually triggering global
// hotkeys because the logical key state doesn't match. For example, with LWin::Alt, LWin-T
// would not activate the Tools menu on a menu bar.
else if (aVK == VK_LMENU || aVK == VK_RMENU || aVK == VK_LWIN || aVK == VK_RWIN)
{
// Fix for v1.1.26.01: Added KEY_BLOCK_THIS to suppress the Alt key-up, which fixes an issue
// which could be reproduced as follows:
Expand Down

0 comments on commit c4bd7ef

Please sign in to comment.