mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-03 01:40:17 -05:00
style, consistent bool names, deprecate old config
This commit is contained in:
parent
5d71ccc174
commit
dc9751cbfe
3 changed files with 32 additions and 6 deletions
|
|
@ -2641,7 +2641,7 @@ term_bell(struct terminal *term)
|
|||
notify_notify(term, "Bell", "Bell in terminal");
|
||||
}
|
||||
|
||||
if (term->conf->bell.command.argv && (!term->kbd_focus || term->conf->bell.command_focused)) {
|
||||
if ((term->conf->bell.command.argv != 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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue