Commit 656666e7 authored by Emmanuel Gil Peyrot's avatar Emmanuel Gil Peyrot Committed by Camilla Berglund
Browse files

wayland: Fix typo introduced in e253beaa.

Closes #502.
parent 460c34df
......@@ -380,9 +380,9 @@ void _glfwPlatformPostEmptyEvent(void)
void _glfwPlatformGetCursorPos(_GLFWwindow* window, double* xpos, double* ypos)
{
if (xpos)
*xpos = window->wl.cursorX;
*xpos = window->wl.cursorPosX;
if (ypos)
*ypos = window->wl.cursorY;
*ypos = window->wl.cursorPosY;
}
void _glfwPlatformSetCursorPos(_GLFWwindow* window, double x, double y)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment