# window_find_by_id

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

```c
struct window * window_find_by_id(u_int id)
```

## Parameters

- `id` (`u_int`)

## Called by

- [`control_check_subs_window`](/en/tmux/3.2a/reference/c-function-control-c-control_check_subs_window/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L957)
- [`window_find_by_id_str`](/en/tmux/3.2a/reference/c-function-window_find_by_id_str/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L278)

## Referenced by

- [`cmd_mouse_window`](/en/tmux/3.2a/reference/c-function-cmd_mouse_window/) (function)
- [`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)
- [`window`](/en/tmux/3.2a/reference/c-struct-window/) (struct)
