From c55c9af57838bbf0f3bc6cc8334c6e27277519cd Mon Sep 17 00:00:00 2001 From: Dmytro Meleshko Date: Mon, 26 Aug 2019 21:30:03 +0300 Subject: [PATCH] [kitty] add audio_bell patch --- kitty/patches/audio_bell.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 kitty/patches/audio_bell.patch diff --git a/kitty/patches/audio_bell.patch b/kitty/patches/audio_bell.patch new file mode 100644 index 0000000..ebdc8ab --- /dev/null +++ b/kitty/patches/audio_bell.patch @@ -0,0 +1,16 @@ +--- kitty/glfw.c 2019-07-29 07:15:02.000000000 +0300 ++++ kitty/glfw.c 2019-08-01 23:38:47.259980678 +0300 +@@ -842,13 +842,9 @@ + double now = monotonic(); + if (now - last_bell_at <= 0.1) return; + last_bell_at = now; +-#ifdef __APPLE__ + if (w->handle) { + glfwWindowBell(w->handle); + } +-#else +- play_canberra_sound("bell", "kitty bell"); +-#endif + } + + static PyObject*