diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-07-25 16:45:04 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-07-25 16:45:04 +0000 |
| commit | 0ce4ef60006b8c2feb855d6b7a992a74bac40ad7 (patch) | |
| tree | 5fd814428f080ad4e361e00f51d8cf6628f0bd8e | |
| parent | Merge branch 'kitty-notifications' (diff) | |
notify: kitty notifications: fix ID string in activation event
We forgot to prefix the notification ID with 'i='
| -rw-r--r-- | notify.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |
