mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 17:52:02 +02:00
Add glfwGetKeyboardRepeatDelay() to the GLFW API for X11, Wayland and Cocoa
Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com> Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/4765810b-ecf5-4348-ae3a-ff0ff481aaae
This commit is contained in:
@@ -2782,6 +2782,11 @@ monotonic_t _glfwPlatformGetDoubleClickInterval(_GLFWwindow* window UNUSED)
|
||||
return s_double_to_monotonic_t([NSEvent doubleClickInterval]);
|
||||
}
|
||||
|
||||
monotonic_t _glfwPlatformGetKeyboardRepeatDelay(void)
|
||||
{
|
||||
return s_double_to_monotonic_t([NSEvent keyRepeatDelay]);
|
||||
}
|
||||
|
||||
void _glfwPlatformIconifyWindow(_GLFWwindow* window)
|
||||
{
|
||||
[window->ns.object miniaturize:nil];
|
||||
|
||||
Reference in New Issue
Block a user