This check is already performed in shared code.
@ -2097,15 +2097,12 @@ void _glfwSetWindowResizableWayland(_GLFWwindow* window, GLFWbool enabled)
}
void _glfwSetWindowDecoratedWayland(_GLFWwindow* window, GLFWbool enabled)
{
if (!window->monitor)
if (enabled)
createDecorations(window);
else
destroyDecorations(window);
void _glfwSetWindowFloatingWayland(_GLFWwindow* window, GLFWbool enabled)