mirror of
https://github.com/glfw/glfw.git
synced 2025-11-18 03:53:27 +00:00
Wayland: Ignore cursor position errors from spamming the console
This commit is contained in:
parent
70caf79281
commit
7fb289808f
@ -2832,8 +2832,9 @@ void _glfwGetCursorPosWayland(_GLFWwindow* window, double* xpos, double* ypos)
|
|||||||
|
|
||||||
void _glfwSetCursorPosWayland(_GLFWwindow* window, double x, double y)
|
void _glfwSetCursorPosWayland(_GLFWwindow* window, double x, double y)
|
||||||
{
|
{
|
||||||
_glfwInputError(GLFW_FEATURE_UNAVAILABLE,
|
// Ignore This Error from spamming
|
||||||
"Wayland: The platform does not support setting the cursor position");
|
//_glfwInputError(GLFW_FEATURE_UNAVAILABLE,
|
||||||
|
// "Wayland: The platform does not support setting the cursor position");
|
||||||
}
|
}
|
||||||
|
|
||||||
void _glfwSetCursorModeWayland(_GLFWwindow* window, int mode)
|
void _glfwSetCursorModeWayland(_GLFWwindow* window, int mode)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user