mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-11 19:19:35 +02:00
Wayland: Only print out window attention error once
This commit is contained in:
8
glfw/wl_window.c
vendored
8
glfw/wl_window.c
vendored
@@ -1256,8 +1256,12 @@ void _glfwPlatformHideWindow(_GLFWwindow* window)
|
||||
void _glfwPlatformRequestWindowAttention(_GLFWwindow* window)
|
||||
{
|
||||
// TODO
|
||||
_glfwInputError(GLFW_PLATFORM_ERROR,
|
||||
"Wayland: Window attention request not implemented yet");
|
||||
static GLFWbool notified = GLFW_FALSE;
|
||||
if (!notified) {
|
||||
_glfwInputError(GLFW_PLATFORM_ERROR,
|
||||
"Wayland: Window attention request not implemented yet");
|
||||
notified = GLFW_TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
int _glfwPlatformWindowBell(_GLFWwindow* window)
|
||||
|
||||
Reference in New Issue
Block a user