This commit is contained in:
Kovid Goyal 2025-04-16 16:15:02 +05:30
parent 923b04d124
commit ef2713a5bd
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -1820,6 +1820,7 @@ ring_audio_bell(OSWindow *w) {
if (last_bell_at >= 0 && now - last_bell_at <= ms_to_monotonic_t(100ll)) return;
last_bell_at = now;
#ifdef __APPLE__
(void)w;
cocoa_system_beep(OPT(bell_path));
#else
if (OPT(bell_path)) play_canberra_sound(OPT(bell_path), "kitty bell", true, "event", OPT(bell_theme));