From f7860aec7610be897155046bd730ad0b406bd56c Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 18 Jun 2021 16:18:41 +0200 Subject: config: add new function config_clone() --- terminal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'terminal.c') 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); -- cgit v1.3