|
| static bool | queues_stack_duplicate (struct notification *new) |
| | Replaces duplicate notification and stacks it.
|
| |
| static bool | queues_stack_by_tag (struct notification *new) |
| | Replaces the first notification of the same stack_tag.
|
| |
| void | queues_init (void) |
| | Initialise necessary queues.
|
| |
| GList * | queues_get_displayed (void) |
| | Receive the current list of displayed notifications.
|
| |
| struct notification * | queues_get_head_waiting (void) |
| | Get the highest notification in line.
|
| |
| unsigned int | queues_length_waiting (void) |
| | Returns the current amount of notifications, which are waiting to get displayed.
|
| |
| unsigned int | queues_length_displayed (void) |
| | Returns the current amount of notifications, which are shown in the UI.
|
| |
| unsigned int | queues_length_history (void) |
| | Returns the current amount of notifications, which are already in history.
|
| |
| GList * | queues_get_history (void) |
| | Recieve the list of all notifications encountered.
|
| |
| static void | queues_swap_notifications (GQueue *queueA, GList *elemA, GQueue *queueB, GList *elemB) |
| | Swap two given queue elements.
|
| |
| static bool | queues_notification_is_ready (const struct notification *n, struct dunst_status status, bool shown) |
| | Check if a notification is eligible to get shown.
|
| |
| static bool | queues_notification_is_finished (struct notification *n, struct dunst_status status, gint64 time) |
| | Check if a notification has timed out.
|
| |
| int | queues_notification_insert (struct notification *n) |
| | Insert a fully initialized notification into queues.
|
| |
| bool | queues_notification_replace_id (struct notification *new) |
| | Replace the notification which matches the id field of the new notification.
|
| |
| void | queues_notification_close_id (gint id, enum reason reason) |
| | Close the notification that has n->id == id.
|
| |
| void | queues_notification_close (struct notification *n, enum reason reason) |
| | Close the given notification.
|
| |
| void | queues_notification_remove (struct notification *n, enum reason reason) |
| | Remove the given notification from all queues.
|
| |
| static void | queues_destroy_notification (struct notification *n, gpointer user_data) |
| |
| guint | queues_history_clear (void) |
| | Removes all notifications from history Returns the number of removed notifications.
|
| |
| void | queues_history_pop (void) |
| | Pushes the latest notification of history to the displayed queue and removes it from history.
|
| |
| void | queues_history_pop_by_id (gint id) |
| | Pushes the latest notification found in the history buffer identified by it's assigned id.
|
| |
| void | queues_history_push (struct notification *n) |
| | Push a single notification to history The given notification has to be removed its queue.
|
| |
| void | queues_history_push_all (void) |
| | Push all waiting and displayed notifications to history.
|
| |
| bool | queues_history_remove_by_id (gint id) |
| | Removes an notification identified by the given id from the history.
|
| |
| void | queues_update (struct dunst_status status, gint64 time) |
| | Move inserted notifications from waiting queue to displayed queue and show them.
|
| |
| gint64 | queues_get_next_datachange (gint64 time) |
| | Calculate the distance to the next event, when an element in the queues changes.
|
| |
| struct notification * | queues_get_by_id (gint id) |
| | Get the notification which has the given id in the displayed and waiting queue or NULL if not found.
|
| |
| void | queues_reapply_all_rules (void) |
| | Reapply all rules to the queue (used when reloading configs)
|
| |
| static void | teardown_notification (gpointer data) |
| | Helper function for queues_teardown() to free a single notification.
|
| |
| void | queues_teardown (void) |
| | Remove all notifications from all list and free the notifications.
|
| |
- Copyright
- Copyright 2013-2014 Sascha Kruse
-
Copyright 2014-2026 Dunst contributors
- License
- BSD-3-Clause
Definition in file queues.c.