Revert the replacement in the '_glfwPlatformPollEvents' function, as it could wrongfully read inputs from other windows

This commit is contained in:
Luiz Monclar 2019-04-17 02:33:49 -03:00
parent 0678c6ca1e
commit 906542f2bb

View File

@ -1918,7 +1918,7 @@ void _glfwPlatformPollEvents(void)
}
}
handle = GetForegroundWindow();
handle = GetActiveWindow();
if (handle)
{
// NOTE: Shift keys on Windows tend to "stick" when both are pressed as