diff options
-rw-r--r-- | src/window-xlib.c | 11 |
1 files 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) |