[*] revert nonwayland fixes

This commit is contained in:
Reece Wilson 2023-11-09 05:49:10 +00:00
parent c426e8d5c1
commit ad3b49580a

View File

@ -1108,10 +1108,7 @@ 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));
if (plain)
{
_glfwInputChar(window, codepoint, mods, plain);
}
_glfwInputChar(window, codepoint, mods, plain);
}
}
}
@ -2524,7 +2521,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");
}
void _glfwGetWindowPosWayland(_GLFWwindow* window, int* xpos, int* ypos)