diff options
Diffstat (limited to 'glfw/src/wl_window.c')
-rw-r--r-- | glfw/src/wl_window.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/glfw/src/wl_window.c b/glfw/src/wl_window.c index 916ba68..bb2da47 100644 --- a/glfw/src/wl_window.c +++ b/glfw/src/wl_window.c @@ -239,7 +239,7 @@ void _glfwPlatformGetWindowPos(_GLFWwindow* window, int* xpos, int* ypos) // as (0, 0) _glfwInputError(GLFW_PLATFORM_ERROR, - "Wayland: Window position retreival not supported"); + "Wayland: Window position retrieval not supported"); } void _glfwPlatformSetWindowPos(_GLFWwindow* window, int xpos, int ypos) @@ -372,6 +372,12 @@ void _glfwPlatformPostEmptyEvent(void) wl_display_sync(_glfw.wl.display); } +void _glfwPlatformGetCursorPos(_GLFWwindow* window, double* xpos, double* ypos) +{ + // TODO + fprintf(stderr, "_glfwPlatformGetCursorPos not implemented yet\n"); +} + void _glfwPlatformSetCursorPos(_GLFWwindow* window, double x, double y) { // A Wayland client can not set the cursor position |