# window_client_mode

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-client.c#L63
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-variable-window_client_mode/

```c
const struct window_mode window_client_mode = {
    .name = "client-mode",
    .default_format = "#{t/p:client_activity}: session #{session_name}" ,

    .init = window_client_init,
    .free = window_client_free,
    .resize = window_client_resize,
    .update = window_client_update,
    .key = window_client_key,
};
```

## Other function references

- [`window_client_free`](/en/tmux/3.7c/reference/c-function-window-client-c-window_client_free/) (function)
- [`window_client_init`](/en/tmux/3.7c/reference/c-function-window-client-c-window_client_init/) (function)
- [`window_client_key`](/en/tmux/3.7c/reference/c-function-window-client-c-window_client_key/) (function)
- [`window_client_resize`](/en/tmux/3.7c/reference/c-function-window-client-c-window_client_resize/) (function)
- [`window_client_update`](/en/tmux/3.7c/reference/c-function-window-client-c-window_client_update/) (function)

## Referenced by

- [`cmd_choose_tree_exec`](/en/tmux/3.7c/reference/c-function-cmd-choose-tree-c-cmd_choose_tree_exec/) (function)
- [`format_cb_client_mode_format`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_client_mode_format/) (function)

## Referenced declarations

- [`session`](/en/tmux/3.7c/reference/c-struct-session/) (struct)
- [`window_mode`](/en/tmux/3.7c/reference/c-struct-window_mode/) (struct)
