From 656666e72258a499d86d4ac1a9d390728d81b798 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sun, 19 Apr 2015 18:54:04 +0200 Subject: [PATCH] wayland: Fix typo introduced in e253beaa. Closes #502. --- src/wl_window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wl_window.c b/src/wl_window.c index a6d1b866..1d292767 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -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)