# window_customize_unset_key

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

```c
static void window_customize_unset_key(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.7c/reference/c-function-window-customize-c-window_customize_change_current_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1386)
- [`window_customize_change_each`](/en/tmux/3.7c/reference/c-function-window-customize-c-window_customize_change_each/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1355)

## Calls

- [`key_bindings_remove`](/en/tmux/3.7c/reference/c-function-key_bindings_remove/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1322)
- [`mode_tree_collapse_current`](/en/tmux/3.7c/reference/c-function-mode_tree_collapse_current/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1319)
- [`mode_tree_up`](/en/tmux/3.7c/reference/c-function-mode_tree_up/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1320)

## Other function references

- [`mode_tree_get_current`](/en/tmux/3.7c/reference/c-function-mode_tree_get_current/) (function)
- [`window_customize_get_key`](/en/tmux/3.7c/reference/c-function-window-customize-c-window_customize_get_key/) (function)

## Referenced declarations

- [`window_customize_modedata.data`](/en/tmux/3.7c/reference/c-struct-window_customize_modedata-data/) (attribute)
- [`key_binding.key`](/en/tmux/3.7c/reference/c-struct-key_binding-key/) (attribute)
- [`key_table.name`](/en/tmux/3.7c/reference/c-struct-key_table-name/) (attribute)
- [`window_customize_itemdata`](/en/tmux/3.7c/reference/c-struct-window_customize_itemdata/) (struct)
- [`window_customize_modedata`](/en/tmux/3.7c/reference/c-struct-window_customize_modedata/) (struct)
