# window_customize_change_current_callback

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1371
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-window-customize-c-window_customize_change_current_callback/

```c
static int window_customize_change_current_callback(struct client *c, void *modedata, const char *s, int done)
```

## Parameters

- `c` (`struct client *`)
- `modedata` (`void *`)
- `s` (`const char *`)
- `done` (`int`)

## Calls

- [`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#L1399)
- [`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#L1400)
- [`mode_tree_get_current`](/en/tmux/latest/reference/c-function-mode_tree_get_current/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1382)
- [`options_push_changes`](/en/tmux/latest/reference/c-function-options_push_changes/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1398)
- [`window_customize_reset_key`](/en/tmux/latest/reference/c-function-window-customize-c-window_customize_reset_key/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1392)
- [`window_customize_reset_option`](/en/tmux/latest/reference/c-function-window-customize-c-window_customize_reset_option/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1394)
- [`window_customize_unset_key`](/en/tmux/latest/reference/c-function-window-customize-c-window_customize_unset_key/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1386)
- [`window_customize_unset_option`](/en/tmux/latest/reference/c-function-window-customize-c-window_customize_unset_option/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1388)

## Referenced by

- [`window_customize_key`](/en/tmux/latest/reference/c-function-window-customize-c-window_customize_key/) (function)

## Referenced declarations

- [`__unused`](/en/tmux/latest/reference/c-define-compat-h-__unused/) (constant)
- [`window_customize_modedata.change`](/en/tmux/latest/reference/c-struct-window_customize_modedata-change/) (attribute)
- [`client`](/en/tmux/latest/reference/c-struct-client/) (struct)
- [`window_customize_itemdata.data`](/en/tmux/latest/reference/c-struct-window_customize_itemdata-data/) (attribute)
- [`window_customize_modedata.data`](/en/tmux/latest/reference/c-struct-window_customize_modedata-data/) (attribute)
- [`window_customize_modedata.dead`](/en/tmux/latest/reference/c-struct-window_customize_modedata-dead/) (attribute)
- [`window_pane.flags`](/en/tmux/latest/reference/c-struct-window_pane-flags/) (attribute)
- [`window_customize_itemdata.name`](/en/tmux/latest/reference/c-struct-window_customize_itemdata-name/) (attribute)
- [`PANE_REDRAW`](/en/tmux/latest/reference/c-define-tmux-h-pane_redraw/) (constant)
- [`window_customize_itemdata.scope`](/en/tmux/latest/reference/c-struct-window_customize_itemdata-scope/) (attribute)
- [`WINDOW_CUSTOMIZE_KEY`](/en/tmux/latest/reference/c-enum-window_customize_scope-window_customize_key/) (constant)
- [`WINDOW_CUSTOMIZE_RESET`](/en/tmux/latest/reference/c-enum-window_customize_change-window_customize_reset/) (constant)
- [`WINDOW_CUSTOMIZE_UNSET`](/en/tmux/latest/reference/c-enum-window_customize_change-window_customize_unset/) (constant)
- [`window_customize_modedata.wp`](/en/tmux/latest/reference/c-struct-window_customize_modedata-wp/) (attribute)
