From c84833d92d5a02a172349528d75ee16a984a043c Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 30 Apr 2016 04:15:35 -0400 Subject: restore the functionality of the audible_bell option --- src/window-xlib.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/window-xlib.c b/src/window-xlib.c index d1f261c..156f630 100644 --- a/src/window-xlib.c +++ b/src/window-xlib.c @@ -589,10 +589,15 @@ static void runes_window_backend_audible_bell(RunesTerm *t) { RunesWindowBackend *w = &t->w; - if (t->config.bell_is_urgent) { - runes_window_backend_set_urgent(t); + if (t->config.audible_bell) { + if (t->config.bell_is_urgent) { + runes_window_backend_set_urgent(t); + } + XBell(w->dpy, 0); + } + else { + runes_window_backend_visual_bell(t); } - XBell(w->dpy, 0); } static void runes_window_backend_set_urgent(RunesTerm *t) -- cgit v1.2.3