# window_customize_unset_option

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

```c
static void window_customize_unset_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#L1388)
- [`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#L1357)

## Calls

- [`mode_tree_up`](/en/tmux/latest/reference/c-function-mode_tree_up/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1168)
- [`options_get`](/en/tmux/latest/reference/c-function-options_get/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1164)
- [`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#L1169)

## Other function references

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

## Referenced declarations

- [`window_customize_modedata.data`](/en/tmux/latest/reference/c-struct-window_customize_modedata-data/) (attribute)
- [`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)
