mirror of
https://github.com/glfw/glfw.git
synced 2025-02-19 23:20:35 +00:00
Make it possible to toggle window decorations
This commit is contained in:
parent
1f8ec20b55
commit
4e31dc5e6e
@ -1106,9 +1106,10 @@ void _glfwPlatformSetWindowResizable(_GLFWwindow* window, GLFWbool enabled)
|
|||||||
|
|
||||||
void _glfwPlatformSetWindowDecorated(_GLFWwindow* window, GLFWbool enabled)
|
void _glfwPlatformSetWindowDecorated(_GLFWwindow* window, GLFWbool enabled)
|
||||||
{
|
{
|
||||||
// TODO
|
if (enabled)
|
||||||
_glfwInputError(GLFW_PLATFORM_ERROR,
|
createDecorations(window);
|
||||||
"Wayland: Window attribute setting not implemented yet");
|
else
|
||||||
|
destroyDecorations(window);
|
||||||
}
|
}
|
||||||
|
|
||||||
void _glfwPlatformSetWindowFloating(_GLFWwindow* window, GLFWbool enabled)
|
void _glfwPlatformSetWindowFloating(_GLFWwindow* window, GLFWbool enabled)
|
||||||
|
Loading…
Reference in New Issue
Block a user