diff --git a/dunst.c b/dunst.c index b57f368..bf0e63e 100644 --- a/dunst.c +++ b/dunst.c @@ -969,6 +969,7 @@ int init_notification(notification * n, int id) n->id = ++next_notification_id; } else { close_notification_by_id(id, -1); + n->id = ++next_notification_id; } if(strlen(n->msg) == 0) {