aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-06-23 10:54:55 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-06-23 10:54:55 +0000
commit4e5f5026b8abc4aa2e23a82f3e91196cb09ecabe (patch)
tree75e456ffe40c4c33d2ec8275c646c9204aeae7b5 /terminal.c
parentconfig: remove duplicated error logs for invalid colors (diff)
parentconfig: add new function config_clone() (diff)
Merge branch 'config-clone'
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/terminal.c b/terminal.c
index b916868b..9e0795a1 100644
--- a/terminal.c
+++ b/terminal.c
@@ -2677,11 +2677,11 @@ term_bell(struct terminal *term)
notify_notify(term, "Bell", "Bell in terminal");
}
- if ((term->conf->bell.command.argv != NULL) &&
+ if ((term->conf->bell.command.argv.args != NULL) &&
(!term->kbd_focus || term->conf->bell.command_focused))
{
int devnull = open("/dev/null", O_RDONLY);
- spawn(term->reaper, NULL, term->conf->bell.command.argv, devnull, -1, -1);
+ spawn(term->reaper, NULL, term->conf->bell.command.argv.args, devnull, -1, -1);
if (devnull >= 0)
close(devnull);