diff --git a/src/wl_window.c b/src/wl_window.c index 71dfad4c..577c4b74 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -1106,9 +1106,10 @@ void _glfwPlatformSetWindowResizable(_GLFWwindow* window, GLFWbool enabled) void _glfwPlatformSetWindowDecorated(_GLFWwindow* window, GLFWbool enabled) { - // TODO - _glfwInputError(GLFW_PLATFORM_ERROR, - "Wayland: Window attribute setting not implemented yet"); + if (enabled) + createDecorations(window); + else + destroyDecorations(window); } void _glfwPlatformSetWindowFloating(_GLFWwindow* window, GLFWbool enabled)