notify: try to read the daemon assigned notification ID from stdout

And document the things we recognize in the notification helper's
stdout.
This commit is contained in:
Daniel Eklöf 2024-07-24 16:02:19 +02:00
parent e271027c0c
commit f56da385fe
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 56 additions and 3 deletions

View file

@ -45,6 +45,7 @@ struct notification {
* Used internally by notify
*/
uint32_t external_id; /* Daemon assigned notification ID */
bool activated; /* User 'activated' the notification */
char *xdg_token; /* XDG activation token, from daemon */