# winlink_find_by_window_id

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L124
- **Page:** https://libtmux.org/en/tmux/3.7c/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.7c/reference/c-function-control_notify_window_layout_changed/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control-notify.c#L69)
- [`control_notify_window_linked`](/en/tmux/3.7c/reference/c-function-control_notify_window_linked/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control-notify.c#L120)
- [`control_notify_window_renamed`](/en/tmux/3.7c/reference/c-function-control_notify_window_renamed/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control-notify.c#L138)
- [`control_notify_window_unlinked`](/en/tmux/3.7c/reference/c-function-control_notify_window_unlinked/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control-notify.c#L102)
- [`session_group_synchronize1`](/en/tmux/3.7c/reference/c-function-session-c-session_group_synchronize1/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/session.c#L684)

## Referenced declarations

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