Add attention request function for Cocoa

This commit is contained in:
Felipe Ferreira da Silva 2017-04-07 03:32:32 -03:00
parent 49c4227b0d
commit a3ad2537e2

View File

@ -1274,6 +1274,7 @@ void _glfwPlatformShowWindow(_GLFWwindow* window)
void _glfwPlatformRequestWindowAttention(_GLFWwindow* window) void _glfwPlatformRequestWindowAttention(_GLFWwindow* window)
{ {
[window->ns.object requestUserAttention:NSInformationalRequest];
} }
void _glfwPlatformHideWindow(_GLFWwindow* window) void _glfwPlatformHideWindow(_GLFWwindow* window)