Make it possible to toggle window decorations

This commit is contained in:
Emmanuel Gil Peyrot 2017-12-19 21:32:46 +01:00 committed by linkmauve
parent 1f8ec20b55
commit 4e31dc5e6e
1 changed files with 4 additions and 3 deletions

View File

@ -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)