mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
notify: kitty notifications: fix ID string in activation event
We forgot to prefix the notification ID with 'i='
This commit is contained in:
parent
a213e14ca3
commit
0ce4ef6000
1 changed files with 2 additions and 2 deletions
4
notify.c
4
notify.c
|
|
@ -183,9 +183,9 @@ notif_done(struct reaper *reaper, pid_t pid, int status, void *data)
|
|||
|
||||
LOG_DBG("sending notification report to client");
|
||||
|
||||
char reply[5 + strlen(notif->id) + 1 + 2 + 1];
|
||||
char reply[7 + strlen(notif->id) + 1 + 2 + 1];
|
||||
int n = xsnprintf(
|
||||
reply, sizeof(reply), "\033]99;%s;\033\\", notif->id);
|
||||
reply, sizeof(reply), "\033]99;i=%s;\033\\", notif->id);
|
||||
term_to_slave(term, reply, n);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue