# check_window_name

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

```c
void check_window_name(struct window *w)
```

## Parameters

- `w` (`struct window *`)

## Called by

- [`server_client_loop`](/en/tmux/3.2a/reference/c-function-server_client_loop/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L1416)

## Calls

- [`log_debug`](/en/tmux/3.2a/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/names.c#L67)
- [`name_time_expired`](/en/tmux/3.2a/reference/c-function-names-c-name_time_expired/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/names.c#L73)
- [`options_get_number`](/en/tmux/3.2a/reference/c-function-options_get_number/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/names.c#L63)
- [`server_redraw_window_borders`](/en/tmux/3.2a/reference/c-function-server_redraw_window_borders/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/names.c#L99)
- [`server_status_window`](/en/tmux/3.2a/reference/c-function-server_status_window/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/names.c#L100)
- [`window_set_name`](/en/tmux/3.2a/reference/c-function-window_set_name/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/names.c#L98)

## Other function references

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

## Referenced declarations

- [`window.active`](/en/tmux/3.2a/reference/c-struct-window-active/) (attribute)
- [`window_pane.flags`](/en/tmux/3.2a/reference/c-struct-window_pane-flags/) (attribute)
- [`window.id`](/en/tmux/3.2a/reference/c-struct-window-id/) (attribute)
- [`window.name`](/en/tmux/3.2a/reference/c-struct-window-name/) (attribute)
- [`window.name_event`](/en/tmux/3.2a/reference/c-struct-window-name_event/) (attribute)
- [`window.name_time`](/en/tmux/3.2a/reference/c-struct-window-name_time/) (attribute)
- [`window.options`](/en/tmux/3.2a/reference/c-struct-window-options/) (attribute)
- [`PANE_CHANGED`](/en/tmux/3.2a/reference/c-define-tmux-h-pane_changed/) (constant)
- [`window`](/en/tmux/3.2a/reference/c-struct-window/) (struct)
