diff --git a/docs/window.dox b/docs/window.dox index 496c4799..26149751 100644 --- a/docs/window.dox +++ b/docs/window.dox @@ -118,6 +118,10 @@ glfwSetWindowSize function. This hint is ignored for fullscreen windows. The `GLFW_VISIBLE` hint specifies whether the window will be initially visible. This hint is ignored for fullscreen windows. +The `GLFW_DECORATED` hint specifies whether the window will have window +decorations such as a border, a close widget, etc. This hint is ignored for +fullscreen windows. + @subsection window_hints_values Supported and default values @@ -125,6 +129,7 @@ visible. This hint is ignored for fullscreen windows. | ---------------------------- | ------------------------ | ----------------------- | | `GLFW_RESIZABLE` | `GL_TRUE` | `GL_TRUE` or `GL_FALSE` | | `GLFW_VISIBLE` | `GL_TRUE` | `GL_TRUE` or `GL_FALSE` | +| `GLFW_DECORATED` | `GL_TRUE` | `GL_TRUE` or `GL_FALSE` | | `GLFW_RED_BITS` | 8 | 0 to `INT_MAX` | | `GLFW_GREEN_BITS` | 8 | 0 to `INT_MAX` | | `GLFW_BLUE_BITS` | 8 | 0 to `INT_MAX` | diff --git a/include/GL/glfw3.h b/include/GL/glfw3.h index 81356880..ec66530a 100644 --- a/include/GL/glfw3.h +++ b/include/GL/glfw3.h @@ -1363,6 +1363,8 @@ GLFWAPI GLFWmonitor* glfwGetWindowMonitor(GLFWwindow* window); * The `GLFW_RESIZABLE` parameter indicates whether the window is resizable * by the user. * + * The `GLFW_DECORATED` parameter indicates whether the window is decorated. + * * @par Context parameters * * The `GLFW_CLIENT_API` parameter indicates the client API provided by the