mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-26 20:28:49 -05:00
Win32: Make glfwPostEmptyEvent use helper window
This commit is contained in:
parent
2eb1657d91
commit
f79a52fe9b
|
@ -1432,8 +1432,7 @@ void _glfwPlatformWaitEventsTimeout(double timeout)
|
||||||
|
|
||||||
void _glfwPlatformPostEmptyEvent(void)
|
void _glfwPlatformPostEmptyEvent(void)
|
||||||
{
|
{
|
||||||
_GLFWwindow* window = _glfw.windowListHead;
|
PostMessage(_glfw.win32.helperWindowHandle, WM_NULL, 0, 0);
|
||||||
PostMessage(window->win32.handle, WM_NULL, 0, 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void _glfwPlatformGetCursorPos(_GLFWwindow* window, double* xpos, double* ypos)
|
void _glfwPlatformGetCursorPos(_GLFWwindow* window, double* xpos, double* ypos)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user