# window_customize_reset_option

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L1151
- **Page:** https://libtmux.org/en/tmux/3.2a/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/3.2a/reference/c-function-window-customize-c-window_customize_change_current_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L1375)
- [`window_customize_change_each`](/en/tmux/3.2a/reference/c-function-window-customize-c-window_customize_change_each/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L1344)

## Calls

- [`options_get_only`](/en/tmux/3.2a/reference/c-function-options_get_only/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L1164)
- [`options_get_parent`](/en/tmux/3.2a/reference/c-function-options_get_parent/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L1167)
- [`options_remove_or_default`](/en/tmux/3.2a/reference/c-function-options_remove_or_default/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L1166)

## Other function references

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

## Referenced declarations

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