# window_customize_init

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

```c
static struct screen * window_customize_init(struct window_mode_entry *, struct cmd_find_state *, struct args *)
```

## Parameters

- `wme` (`struct window_mode_entry *`)
- `fs` (`struct cmd_find_state *`)
- `args` (`struct args *`)

## Calls

- [`mode_tree_build`](/en/tmux/3.2a/reference/c-function-mode_tree_build/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L897)
- [`mode_tree_draw`](/en/tmux/3.2a/reference/c-function-mode_tree_draw/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L898)
- [`mode_tree_start`](/en/tmux/3.2a/reference/c-function-mode_tree_start/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L891)
- [`mode_tree_zoom`](/en/tmux/3.2a/reference/c-function-mode_tree_zoom/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L895)
- [`xcalloc`](/en/tmux/3.2a/reference/c-function-xcalloc/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L880)
- [`xstrdup`](/en/tmux/3.2a/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L889)

## Other function references

- [`args_get`](/en/tmux/3.2a/reference/c-function-args_get/) (function)
- [`args_has`](/en/tmux/3.2a/reference/c-function-args_has/) (function)
- [`window_customize_build`](/en/tmux/3.2a/reference/c-function-window-customize-c-window_customize_build/) (function)
- [`window_customize_draw`](/en/tmux/3.2a/reference/c-function-window-customize-c-window_customize_draw/) (function)
- [`window_customize_height`](/en/tmux/3.2a/reference/c-function-window-customize-c-window_customize_height/) (function)
- [`window_customize_menu`](/en/tmux/3.2a/reference/c-function-window-customize-c-window_customize_menu/) (function)

## Referenced by

- [`window_customize_mode`](/en/tmux/3.2a/reference/c-variable-window_customize_mode/) (attribute)

## Referenced declarations

- [`args`](/en/tmux/3.2a/reference/c-struct-args/) (struct)
- [`cmd_find_state`](/en/tmux/3.2a/reference/c-struct-cmd_find_state/) (struct)
- [`window_customize_modedata.data`](/en/tmux/3.2a/reference/c-struct-window_customize_modedata-data/) (attribute)
- [`window_mode_entry.data`](/en/tmux/3.2a/reference/c-struct-window_mode_entry-data/) (attribute)
- [`window_customize_modedata.format`](/en/tmux/3.2a/reference/c-struct-window_customize_modedata-format/) (attribute)
- [`window_customize_modedata.fs`](/en/tmux/3.2a/reference/c-struct-window_customize_modedata-fs/) (attribute)
- [`window_customize_modedata.references`](/en/tmux/3.2a/reference/c-struct-window_customize_modedata-references/) (attribute)
- [`screen`](/en/tmux/3.2a/reference/c-struct-screen/) (struct)
- [`WINDOW_CUSTOMIZE_DEFAULT_FORMAT`](/en/tmux/3.2a/reference/c-define-window-customize-c-window_customize_default_format/) (constant)
- [`window_customize_menu_items`](/en/tmux/3.2a/reference/c-variable-window-customize-c-window_customize_menu_items/) (attribute)
- [`window_mode_entry`](/en/tmux/3.2a/reference/c-struct-window_mode_entry/) (struct)
- [`window_customize_modedata.wp`](/en/tmux/3.2a/reference/c-struct-window_customize_modedata-wp/) (attribute)
- [`window_mode_entry.wp`](/en/tmux/3.2a/reference/c-struct-window_mode_entry-wp/) (attribute)
