mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
[PowerRename] Fix AltGr input (#14927)
This commit is contained in:
@@ -121,10 +121,7 @@ bool DesktopWindow::NavigateFocus(MSG* msg)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
const bool islandIsFocused = GetFocusedIsland() != nullptr;
|
const bool islandIsFocused = GetFocusedIsland() != nullptr;
|
||||||
byte keyboardState[256] = {};
|
if (islandIsFocused)
|
||||||
WINRT_VERIFY(::GetKeyboardState(keyboardState));
|
|
||||||
const bool isMenuModifier = keyboardState[VK_MENU] & 0x80;
|
|
||||||
if (islandIsFocused && !isMenuModifier)
|
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user