# window_customize_reset_option

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

```c
static void window_customize_reset_option(struct window_customize_modedata *data, struct window_customize_itemdata *item)
```

## Parameters

- `data` (`struct window_customize_modedata *`)
- `item` (`struct window_customize_itemdata *`)

## Called by

- [`window_customize_change_current_callback`](/en/tmux/latest/reference/c-function-window-customize-c-window_customize_change_current_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1394)
- [`window_customize_change_each`](/en/tmux/latest/reference/c-function-window-customize-c-window_customize_change_each/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1363)

## Calls

- [`options_get_only`](/en/tmux/latest/reference/c-function-options_get_only/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1186)
- [`options_get_parent`](/en/tmux/latest/reference/c-function-options_get_parent/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1189)
- [`options_remove_or_default`](/en/tmux/latest/reference/c-function-options_remove_or_default/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1188)

## Other function references

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

## Referenced declarations

- [`window_customize_itemdata.idx`](/en/tmux/latest/reference/c-struct-window_customize_itemdata-idx/) (attribute)
- [`window_customize_itemdata.name`](/en/tmux/latest/reference/c-struct-window_customize_itemdata-name/) (attribute)
- [`window_customize_itemdata.oo`](/en/tmux/latest/reference/c-struct-window_customize_itemdata-oo/) (attribute)
- [`window_customize_itemdata`](/en/tmux/latest/reference/c-struct-window_customize_itemdata/) (struct)
- [`window_customize_modedata`](/en/tmux/latest/reference/c-struct-window_customize_modedata/) (struct)
