fix insertion order on close_key

This commit is contained in:
Sascha Kruse 2013-02-22 19:58:03 +00:00
parent f12d5332a8
commit 0909620b3a

View File

@ -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;
}
}