Add attention request function for each platform

Add stub functions ```_glfwPlatformRequestWindowAttention``` for the
platforms Cocoa, Mir, and Wayland, which still lack the implementation
of attention request.
This commit is contained in:
Felipe Ferreira da Silva 2017-04-06 21:18:25 -03:00
parent ec22abcd06
commit 584958222c
3 changed files with 12 additions and 0 deletions

View File

@ -1272,6 +1272,10 @@ void _glfwPlatformShowWindow(_GLFWwindow* window)
[window->ns.object orderFront:nil];
}
void _glfwPlatformRequestWindowAttention(_GLFWwindow* window)
{
}
void _glfwPlatformHideWindow(_GLFWwindow* window)
{
[window->ns.object orderOut:nil];

View File

@ -567,6 +567,10 @@ void _glfwPlatformShowWindow(_GLFWwindow* window)
mir_surface_spec_release(spec);
}
void _glfwPlatformRequestWindowAttention(_GLFWwindow* window)
{
}
void _glfwPlatformFocusWindow(_GLFWwindow* window)
{
_glfwInputError(GLFW_PLATFORM_ERROR,

View File

@ -589,6 +589,10 @@ void _glfwPlatformShowWindow(_GLFWwindow* window)
}
}
void _glfwPlatformRequestWindowAttention(_GLFWwindow* window)
{
}
void _glfwPlatformHideWindow(_GLFWwindow* window)
{
if (!window->monitor)