Use queues_notification_close for skip_display instead of queues_history_push
https://github.com/dunst-project/dunst/pull/590
This commit is contained in:
parent
977a7a7ea4
commit
802b1abb09
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user