diff --git a/kitty/glfw.c b/kitty/glfw.c index 645ee6a13..3ee0b472d 100644 --- a/kitty/glfw.c +++ b/kitty/glfw.c @@ -499,6 +499,10 @@ toggle_fullscreen(PyObject UNUSED *self) { void ring_audio_bell(OSWindow *w) { + static double last_bell_at = -1; + double now = monotonic(); + if (now - last_bell_at <= 0.1) return; + last_bell_at = now; #ifdef __APPLE__ (void)w; cocoa_audio_bell();