osc: kitty notification: implement 'close' events

Application can now request to receive a 'close' event when the
notification is closed (but not necessarily activated), by adding
'c=1' to the notification request.
This commit is contained in:
Daniel Eklöf 2024-07-25 18:47:23 +02:00
parent d53f0aea75
commit c797222930
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 30 additions and 6 deletions

View file

@ -40,6 +40,7 @@ struct notification {
enum notify_urgency urgency;
bool focus;
bool report_activated;
bool report_closed;
/*
* Used internally by notify