From 0909620b3a142d198a2b6d66f6d25887493ef62a Mon Sep 17 00:00:00 2001 From: Sascha Kruse Date: Fri, 22 Feb 2013 19:58:03 +0000 Subject: [PATCH] fix insertion order on close_key --- notification.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notification.c b/notification.c index ec16aa6..ae0123d 100644 --- a/notification.c +++ b/notification.c @@ -128,7 +128,7 @@ int notification_cmp(const void *va, const void *vb) if (a->urgency != b->urgency) { return b->urgency - a->urgency; } else { - return a->timestamp - b->timestamp; + return a->id - b->id; } }