Show a bell on the tab if a bell occurs in one of the windows in the tab and the window is not the currently focused window. Fixes #514

This commit is contained in:
Kovid Goyal
2018-05-02 21:44:14 +05:30
parent 2a52acdef4
commit efcd3a5df7
5 changed files with 41 additions and 4 deletions

View File

@@ -1077,6 +1077,7 @@ void
screen_bell(Screen *self) {
request_window_attention(self->window_id, OPT(enable_audio_bell));
if (OPT(visual_bell_duration) > 0.0f) self->start_visual_bell_at = monotonic();
CALLBACK("on_bell", NULL);
}
void