mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-16 22:05:21 -05:00
parent
813b514f63
commit
689549bb1f
2 changed files with 7 additions and 2 deletions
6
osc.c
6
osc.c
|
|
@ -557,9 +557,13 @@ osc_notify(struct terminal *term, char *string)
|
|||
return;
|
||||
}
|
||||
|
||||
char *msgdup = NULL;
|
||||
if (msg != NULL)
|
||||
msgdup = xstrdup(msg);
|
||||
|
||||
notify_notify(term, &(struct notification){
|
||||
.title = xstrdup(title),
|
||||
.body = xstrdup(msg),
|
||||
.body = msgdup,
|
||||
.expire_time = -1,
|
||||
.focus = true,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue