diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2023-10-10 06:15:11 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2023-10-10 06:15:11 +0000 |
| commit | 5c58fc2a28db342956424fe62168e21c0887d9e7 (patch) | |
| tree | 0ee95e2edee83529a92c5f14df63cec2d7183b5d /terminal.c | |
| parent | render: more fine-grained wayland surface damage tracking (diff) | |
| parent | changelog: fix issue number for visual bell (diff) | |
Merge branch 'visual-bell-remastered'
Closes #1337
Diffstat (limited to 'terminal.c')
| -rw-r--r-- | terminal.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3270,6 +3270,7 @@ term_flash(struct terminal *term, unsigned duration_ms) void term_bell(struct terminal *term) { + if (!term->bell_action_enabled) return; @@ -3288,6 +3289,9 @@ term_bell(struct terminal *term) if (term->conf->bell.notify) notify_notify(term, "Bell", "Bell in terminal"); + if (term->conf->bell.flash) + term_flash(term, 100); + if ((term->conf->bell.command.argv.args != NULL) && (!term->kbd_focus || term->conf->bell.command_focused)) { |
