diff --git a/src/wl_window.c b/src/wl_window.c index 5b491ffb..edd9f6f8 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -1197,7 +1197,10 @@ static void inputText(_GLFWwindow* window, uint32_t scancode) { const int mods = _glfw.wl.xkb.modifiers; const int plain = !(mods & (GLFW_MOD_CONTROL | GLFW_MOD_ALT)); - _glfwInputChar(window, codepoint, mods, plain); + + if (plain) { + _glfwInputChar(window, codepoint, mods, plain); + } } } } @@ -2227,8 +2230,8 @@ void _glfwSetWindowTitleWayland(_GLFWwindow* window, const char* title) void _glfwSetWindowIconWayland(_GLFWwindow* window, int count, const GLFWimage* images) { - _glfwInputError(GLFW_FEATURE_UNAVAILABLE, - "Wayland: The platform does not support setting the window icon"); + /* _glfwInputError(GLFW_FEATURE_UNAVAILABLE, */ + /* "Wayland: The platform does not support setting the window icon"); */ } void _glfwGetWindowPosWayland(_GLFWwindow* window, int* xpos, int* ypos) @@ -2236,8 +2239,8 @@ void _glfwGetWindowPosWayland(_GLFWwindow* window, int* xpos, int* ypos) // A Wayland client is not aware of its position, so just warn and leave it // as (0, 0) - _glfwInputError(GLFW_FEATURE_UNAVAILABLE, - "Wayland: The platform does not provide the window position"); + /* _glfwInputError(GLFW_FEATURE_UNAVAILABLE, */ + /* "Wayland: The platform does not provide the window position"); */ } void _glfwSetWindowPosWayland(_GLFWwindow* window, int xpos, int ypos) @@ -2667,8 +2670,8 @@ 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"); + /* _glfwInputError(GLFW_FEATURE_UNAVAILABLE, */ + /* "Wayland: The platform does not support setting the cursor position"); */ } void _glfwSetCursorModeWayland(_GLFWwindow* window, int mode)