From 17761dce63100d287b62dda5bf2c49d5db5f2576 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 11 Oct 2020 17:44:29 +0200 Subject: csi: implement ‘CSI ? 1042 h/l’ - enable/disable bell-is-urgent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config.c') diff --git a/config.c b/config.c index bcebcb2a..bc7e7426 100644 --- a/config.c +++ b/config.c @@ -519,14 +519,14 @@ parse_section_main(const char *key, const char *value, struct config *conf, else if (strcmp(key, "bell") == 0) { if (strcmp(value, "set-urgency") == 0) - conf->bell_set_urgency = true; + conf->bell_is_urgent = true; else if (strcmp(value, "none") == 0) - conf->bell_set_urgency = false; + conf->bell_is_urgent = false; else { LOG_AND_NOTIFY_ERR( "%s:%d: [default]: bell: " "expected either 'set-urgency' or 'none'", path, lineno); - conf->bell_set_urgency = false; + conf->bell_is_urgent = false; return false; } } @@ -1902,7 +1902,7 @@ config_load(struct config *conf, const char *conf_path, }, .pad_x = 2, .pad_y = 2, - .bell_set_urgency = false, + .bell_is_urgent = false, .startup_mode = STARTUP_WINDOWED, .fonts = tll_init(), .scrollback = { -- cgit v1.3