# alerts_queue

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/alerts.c#L158
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-alerts_queue/

```c
void alerts_queue(struct window *w, int flags)
```

## Parameters

- `w` (`struct window *`)
- `flags` (`int`)

## Calls

- [`alerts_enabled`](/en/tmux/latest/reference/c-function-alerts-c-alerts_enabled/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/alerts.c#L167)
- [`alerts_reset`](/en/tmux/latest/reference/c-function-alerts-c-alerts_reset/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/alerts.c#L160)
- [`log_debug`](/en/tmux/latest/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/alerts.c#L164)
- [`window_add_ref`](/en/tmux/latest/reference/c-function-window_add_ref/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/alerts.c#L171)

## Other function references

- [`alerts_callback`](/en/tmux/latest/reference/c-function-alerts-c-alerts_callback/) (function)

## Referenced by

- [`alerts_timer`](/en/tmux/latest/reference/c-function-alerts-c-alerts_timer/) (function)
- [`input_c0_dispatch`](/en/tmux/latest/reference/c-function-input-c-input_c0_dispatch/) (function)
- [`window_update_activity`](/en/tmux/latest/reference/c-function-window_update_activity/) (function)

## Referenced declarations

- [`alerts_fired`](/en/tmux/latest/reference/c-variable-alerts-c-alerts_fired/) (attribute)
- [`alerts_list`](/en/tmux/latest/reference/c-variable-alerts-c-alerts_list/) (attribute)
- [`window.alerts_queued`](/en/tmux/latest/reference/c-struct-window-alerts_queued/) (attribute)
- [`window.flags`](/en/tmux/latest/reference/c-struct-window-flags/) (attribute)
- [`window.id`](/en/tmux/latest/reference/c-struct-window-id/) (attribute)
- [`window`](/en/tmux/latest/reference/c-struct-window/) (struct)
