Skip to content
Snippets Groups Projects
Commit f79a52fe authored by Camilla Löwy's avatar Camilla Löwy
Browse files

Win32: Make glfwPostEmptyEvent use helper window

parent 2eb1657d
Branches
No related tags found
No related merge requests found
......@@ -1432,8 +1432,7 @@ void _glfwPlatformWaitEventsTimeout(double timeout)
void _glfwPlatformPostEmptyEvent(void)
{
_GLFWwindow* window = _glfw.windowListHead;
PostMessage(window->win32.handle, WM_NULL, 0, 0);
PostMessage(_glfw.win32.helperWindowHandle, WM_NULL, 0, 0);
}
void _glfwPlatformGetCursorPos(_GLFWwindow* window, double* xpos, double* ypos)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment