# winlink_clear_flags

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

```c
void winlink_clear_flags(struct winlink *wl)
```

## Parameters

- `wl` (`struct winlink *`)

## Called by

- [`session_set_current`](/en/tmux/latest/reference/c-function-session_set_current/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/session.c#L493)

## Calls

- [`server_status_session`](/en/tmux/latest/reference/c-function-server_status_session/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1753)

## Referenced declarations

- [`window.flags`](/en/tmux/latest/reference/c-struct-window-flags/) (attribute)
- [`winlink.flags`](/en/tmux/latest/reference/c-struct-winlink-flags/) (attribute)
- [`winlink.session`](/en/tmux/latest/reference/c-struct-winlink-session/) (attribute)
- [`winlink.wentry`](/en/tmux/latest/reference/c-struct-winlink-wentry/) (attribute)
- [`winlink.window`](/en/tmux/latest/reference/c-struct-winlink-window/) (attribute)
- [`WINDOW_ALERTFLAGS`](/en/tmux/latest/reference/c-define-tmux-h-window_alertflags/) (constant)
- [`winlink`](/en/tmux/latest/reference/c-struct-winlink/) (struct)
- [`WINLINK_ALERTFLAGS`](/en/tmux/latest/reference/c-define-tmux-h-winlink_alertflags/) (constant)
- [`window.winlinks`](/en/tmux/latest/reference/c-struct-window-winlinks/) (attribute)
