# winlink_find_by_window_id

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L121
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-winlink_find_by_window_id/

```c
struct winlink * winlink_find_by_window_id(struct winlinks *wwl, u_int id)
```

## Parameters

- `wwl` (`struct winlinks *`)
- `id` (`u_int`)

## Called by

- [`control_notify_window_layout_changed`](/en/tmux/3.2a/reference/c-function-control_notify_window_layout_changed/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control-notify.c#L59)
- [`control_notify_window_linked`](/en/tmux/3.2a/reference/c-function-control_notify_window_linked/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control-notify.c#L122)
- [`control_notify_window_renamed`](/en/tmux/3.2a/reference/c-function-control_notify_window_renamed/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control-notify.c#L140)
- [`control_notify_window_unlinked`](/en/tmux/3.2a/reference/c-function-control_notify_window_unlinked/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control-notify.c#L104)
- [`session_group_synchronize1`](/en/tmux/3.2a/reference/c-function-session-c-session_group_synchronize1/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/session.c#L685)

## Referenced by

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

## Referenced declarations

- [`window.id`](/en/tmux/3.2a/reference/c-struct-window-id/) (attribute)
- [`winlink.window`](/en/tmux/3.2a/reference/c-struct-winlink-window/) (attribute)
- [`winlink`](/en/tmux/3.2a/reference/c-struct-winlink/) (struct)
- [`winlinks`](/en/tmux/3.2a/reference/c-struct-winlinks/) (struct)
