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 /config.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 'config.c')
| -rw-r--r-- | config.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 = { |
