added missing id when replacing notifications.
This commit is contained in:
parent
fe1b2fd30e
commit
67427bbc18
1
dunst.c
1
dunst.c
@ -969,6 +969,7 @@ int init_notification(notification * n, int id)
|
|||||||
n->id = ++next_notification_id;
|
n->id = ++next_notification_id;
|
||||||
} else {
|
} else {
|
||||||
close_notification_by_id(id, -1);
|
close_notification_by_id(id, -1);
|
||||||
|
n->id = ++next_notification_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(strlen(n->msg) == 0) {
|
if(strlen(n->msg) == 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user