From 7fb289808fff34f7ca2de2de141d49e5c0ff14a2 Mon Sep 17 00:00:00 2001 From: TuxTheAstronaut Date: Tue, 18 Feb 2025 02:06:43 -0500 Subject: [PATCH] Wayland: Ignore cursor position errors from spamming the console --- src/wl_window.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wl_window.c b/src/wl_window.c index 47ba47690..2d76a8fa8 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -2832,8 +2832,9 @@ void _glfwGetCursorPosWayland(_GLFWwindow* window, double* xpos, double* ypos) void _glfwSetCursorPosWayland(_GLFWwindow* window, double x, double y) { - _glfwInputError(GLFW_FEATURE_UNAVAILABLE, - "Wayland: The platform does not support setting the cursor position"); + // Ignore This Error from spamming + //_glfwInputError(GLFW_FEATURE_UNAVAILABLE, + // "Wayland: The platform does not support setting the cursor position"); } void _glfwSetCursorModeWayland(_GLFWwindow* window, int mode)