diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-10-11 15:44:29 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-10-11 15:44:29 +0000 |
| commit | 17761dce63100d287b62dda5bf2c49d5db5f2576 (patch) | |
| tree | 9534a689b68ffbc0535a2ed3b74b34137f858354 /terminal.c | |
| parent | readme/doc: add shift+insert to list of default key bindings (diff) | |
csi: implement ‘CSI ? 1042 h/l’ - enable/disable bell-is-urgent
Diffstat (limited to 'terminal.c')
| -rw-r--r-- | terminal.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -996,6 +996,7 @@ term_init(const struct config *conf, struct fdm *fdm, struct reaper *reaper, .esc_prefix = true, .eight_bit = true, }, + .bell_is_urgent = conf->bell_is_urgent, .tab_stops = tll_init(), .wl = wayl, .render = { @@ -2374,7 +2375,7 @@ term_flash(struct terminal *term, unsigned duration_ms) void term_bell(struct terminal *term) { - if (term->kbd_focus || !term->conf->bell_set_urgency) + if (term->kbd_focus || !term->bell_is_urgent) return; /* There's no 'urgency' hint in Wayland - we just paint the margins red */ |
