Add glfwRequestWindowAttention

Related to #988.
This commit is contained in:
Felipe Ferreira da Silva
2017-03-21 10:02:57 -03:00
committed by Camilla Löwy
parent 4e8e25a521
commit 412eb6a611
12 changed files with 74 additions and 0 deletions
+10
View File
@@ -675,6 +675,16 @@ GLFWAPI void glfwShowWindow(GLFWwindow* handle)
_glfwPlatformFocusWindow(window);
}
GLFWAPI void glfwRequestWindowAttention(GLFWwindow* handle)
{
_GLFWwindow* window = (_GLFWwindow*) handle;
assert(window != NULL);
_GLFW_REQUIRE_INIT();
_glfwPlatformRequestWindowAttention(window);
}
GLFWAPI void glfwHideWindow(GLFWwindow* handle)
{
_GLFWwindow* window = (_GLFWwindow*) handle;