# mode_tree_zoom

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/mode-tree.c#L542
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-mode_tree_zoom/

```c
void mode_tree_zoom(struct mode_tree_data *mtd, struct args *args)
```

## Parameters

- `mtd` (`struct mode_tree_data *`)
- `args` (`struct args *`)

## Called by

- [`window_buffer_init`](/en/tmux/3.7c/reference/c-function-window-buffer-c-window_buffer_init/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-buffer.c#L380)
- [`window_client_init`](/en/tmux/3.7c/reference/c-function-window-client-c-window_client_init/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-client.c#L291)
- [`window_customize_init`](/en/tmux/3.7c/reference/c-function-window-customize-c-window_customize_init/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L917)
- [`window_tree_init`](/en/tmux/3.7c/reference/c-function-window-tree-c-window_tree_init/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-tree.c#L942)

## Calls

- [`args_has`](/en/tmux/3.7c/reference/c-function-args_has/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/mode-tree.c#L546)
- [`server_redraw_window`](/en/tmux/3.7c/reference/c-function-server_redraw_window/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/mode-tree.c#L549)

## Other function references

- [`window_zoom`](/en/tmux/3.7c/reference/c-function-window_zoom/) (function)

## Referenced declarations

- [`args`](/en/tmux/3.7c/reference/c-struct-args/) (struct)
- [`window.flags`](/en/tmux/3.7c/reference/c-struct-window-flags/) (attribute)
- [`mode_tree_data`](/en/tmux/3.7c/reference/c-struct-mode_tree_data/) (struct)
- [`window_pane.window`](/en/tmux/3.7c/reference/c-struct-window_pane-window/) (attribute)
- [`WINDOW_ZOOMED`](/en/tmux/3.7c/reference/c-define-tmux-h-window_zoomed/) (constant)
- [`mode_tree_data.wp`](/en/tmux/3.7c/reference/c-struct-mode_tree_data-wp/) (attribute)
- [`mode_tree_data.zoomed`](/en/tmux/3.7c/reference/c-struct-mode_tree_data-zoomed/) (attribute)
