# window_find_by_id

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L279
- **Page:** https://libtmux.org/en/tmux/3.7c/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.7c/reference/c-function-control-c-control_check_subs_window/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L971)
- [`window_find_by_id_str`](/en/tmux/3.7c/reference/c-function-window_find_by_id_str/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L275)

## Referenced by

- [`cmd_mouse_window`](/en/tmux/3.7c/reference/c-function-cmd_mouse_window/) (function)

## Referenced declarations

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