# winlink_clear_flags

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L1478
- **Page:** https://libtmux.org/en/tmux/3.2a/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/3.2a/reference/c-function-session_set_current/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/session.c#L496)

## Calls

- [`server_status_session`](/en/tmux/3.2a/reference/c-function-server_status_session/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L1486)

## Referenced by

- [`server_client_push_stderr`](/en/tmux/3.2a/reference/c-function-server_client_push_stderr/) (function)

## Referenced declarations

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