mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 05:36:35 +00:00
Revert the replacement in the '_glfwPlatformPollEvents' function, as it could wrongfully read inputs from other windows
This commit is contained in:
parent
0678c6ca1e
commit
906542f2bb
@ -1918,7 +1918,7 @@ void _glfwPlatformPollEvents(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
handle = GetForegroundWindow();
|
handle = GetActiveWindow();
|
||||||
if (handle)
|
if (handle)
|
||||||
{
|
{
|
||||||
// NOTE: Shift keys on Windows tend to "stick" when both are pressed as
|
// NOTE: Shift keys on Windows tend to "stick" when both are pressed as
|
||||||
|
Loading…
Reference in New Issue
Block a user