aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/terminal.c b/terminal.c
index ecf21040..7e490418 100644
--- a/terminal.c
+++ b/terminal.c
@@ -3597,9 +3597,10 @@ term_bell(struct terminal *term)
if (term->conf->bell.notify) {
notify_notify(term, &(struct notification){
- .title = (char *)"Bell",
- .body = (char *)"Bell in terminal",
+ .title = xstrdup("Bell"),
+ .body = xstrdup("Bell in terminal"),
.expire_time = -1,
+ .focus = true,
});
}