From 04c9e70484c6018de464c8431b750a08d2ace33b Mon Sep 17 00:00:00 2001 From: progandy Date: Mon, 8 Oct 2012 12:41:36 +0200 Subject: [PATCH] fix id when replacing notifications (freedesktop standard expects same id) --- dunst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dunst.c b/dunst.c index 70a1c55..fd5ef26 100644 --- a/dunst.c +++ b/dunst.c @@ -970,7 +970,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; + n->id = id; } if(strlen(n->msg) == 0) {