fix id when replacing notifications (freedesktop standard expects same id)

This commit is contained in:
progandy 2012-10-08 12:41:36 +02:00
parent 0e063637db
commit 04c9e70484

View File

@ -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) {