mirror of
https://github.com/glfw/glfw.git
synced 2025-10-05 06:06:36 +00:00
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:
parent
ec22abcd06
commit
584958222c
@ -1272,6 +1272,10 @@ void _glfwPlatformShowWindow(_GLFWwindow* window)
|
|||||||
[window->ns.object orderFront:nil];
|
[window->ns.object orderFront:nil];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void _glfwPlatformRequestWindowAttention(_GLFWwindow* window)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void _glfwPlatformHideWindow(_GLFWwindow* window)
|
void _glfwPlatformHideWindow(_GLFWwindow* window)
|
||||||
{
|
{
|
||||||
[window->ns.object orderOut:nil];
|
[window->ns.object orderOut:nil];
|
||||||
|
@ -567,6 +567,10 @@ void _glfwPlatformShowWindow(_GLFWwindow* window)
|
|||||||
mir_surface_spec_release(spec);
|
mir_surface_spec_release(spec);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void _glfwPlatformRequestWindowAttention(_GLFWwindow* window)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void _glfwPlatformFocusWindow(_GLFWwindow* window)
|
void _glfwPlatformFocusWindow(_GLFWwindow* window)
|
||||||
{
|
{
|
||||||
_glfwInputError(GLFW_PLATFORM_ERROR,
|
_glfwInputError(GLFW_PLATFORM_ERROR,
|
||||||
|
@ -589,6 +589,10 @@ void _glfwPlatformShowWindow(_GLFWwindow* window)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void _glfwPlatformRequestWindowAttention(_GLFWwindow* window)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void _glfwPlatformHideWindow(_GLFWwindow* window)
|
void _glfwPlatformHideWindow(_GLFWwindow* window)
|
||||||
{
|
{
|
||||||
if (!window->monitor)
|
if (!window->monitor)
|
||||||
|
Loading…
Reference in New Issue
Block a user