wayland: Fix typo introduced in e253beaa.

Closes #502.
This commit is contained in:
Emmanuel Gil Peyrot 2015-04-19 18:54:04 +02:00 committed by Camilla Berglund
parent 460c34df4b
commit 656666e722
1 changed files with 2 additions and 2 deletions

View File

@ -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)