From 802b1abb090fe0070b5bb5cfaa1216eb94b6083b Mon Sep 17 00:00:00 2001 From: Michael Sloan Date: Tue, 5 Feb 2019 13:28:13 -0800 Subject: [PATCH] Use queues_notification_close for skip_display instead of queues_history_push https://github.com/dunst-project/dunst/pull/590 --- src/queues.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/queues.c b/src/queues.c index 02ca28d..0290226 100644 --- a/src/queues.c +++ b/src/queues.c @@ -430,11 +430,10 @@ void queues_update(struct dunst_status status) n->start = time_monotonic_now(); notification_run_script(n); - g_queue_delete_link(waiting, iter); - if (n->skip_display && !n->redisplayed) { - queues_history_push(n); + queues_notification_close(n, REASON_USER); } else { + g_queue_delete_link(waiting, iter); g_queue_insert_sorted(displayed, n, notification_cmp_data, NULL); }