# window_customize_init

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L893
- **Page:** https://libtmux.org/en/tmux/latest/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

- [`args_has`](/en/tmux/latest/reference/c-function-args_has/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L910)
- [`mode_tree_build`](/en/tmux/latest/reference/c-function-mode_tree_build/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L919)
- [`mode_tree_draw`](/en/tmux/latest/reference/c-function-mode_tree_draw/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L920)
- [`mode_tree_start`](/en/tmux/latest/reference/c-function-mode_tree_start/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L913)
- [`mode_tree_zoom`](/en/tmux/latest/reference/c-function-mode_tree_zoom/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L917)
- [`xcalloc`](/en/tmux/latest/reference/c-function-xcalloc/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L900)
- [`xstrdup`](/en/tmux/latest/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L909)

## Other function references

- [`args_get`](/en/tmux/latest/reference/c-function-args_get/) (function)
- [`window_customize_build`](/en/tmux/latest/reference/c-function-window-customize-c-window_customize_build/) (function)
- [`window_customize_draw`](/en/tmux/latest/reference/c-function-window-customize-c-window_customize_draw/) (function)
- [`window_customize_height`](/en/tmux/latest/reference/c-function-window-customize-c-window_customize_height/) (function)
- [`window_customize_help`](/en/tmux/latest/reference/c-function-window-customize-c-window_customize_help/) (function)
- [`window_customize_menu`](/en/tmux/latest/reference/c-function-window-customize-c-window_customize_menu/) (function)

## Referenced by

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

## Referenced declarations

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