From 1f4d03af9cdff5911e3e2571551c96a477aed286 Mon Sep 17 00:00:00 2001 From: Benedikt Heine Date: Wed, 11 Oct 2017 16:55:28 +0200 Subject: [PATCH] Fixup fields to count in monotonic usec time --- src/queues.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/queues.c b/src/queues.c index c6316a8..8c5cb2b 100644 --- a/src/queues.c +++ b/src/queues.c @@ -157,7 +157,7 @@ bool queues_notification_replace_id(notification *new) notification *old = iter->data; if (old->id == new->id) { iter->data = new; - new->start = time(NULL); + new->start = g_get_monotonic_time(); new->dup_count = old->dup_count; notification_run_script(new); queues_history_push(old);