# window_push_zoom

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L634
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-window_push_zoom/

```c
int window_push_zoom(struct window *w, int always, int flag)
```

## Parameters

- `w` (`struct window *`)
- `always` (`int`)
- `flag` (`int`)

## Called by

- [`cmd_rotate_window_exec`](/en/tmux/3.2a/reference/c-function-cmd-rotate-window-c-cmd_rotate_window_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-rotate-window.c#L55)
- [`cmd_select_pane_exec`](/en/tmux/3.2a/reference/c-function-cmd-select-pane-c-cmd_select_pane_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-select-pane.c#L120)
- [`cmd_split_window_exec`](/en/tmux/3.2a/reference/c-function-cmd-split-window-c-cmd_split_window_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-split-window.c#L113)
- [`cmd_swap_pane_exec`](/en/tmux/3.2a/reference/c-function-cmd-swap-pane-c-cmd_swap_pane_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-swap-pane.c#L61)
- [`cmd_switch_client_exec`](/en/tmux/3.2a/reference/c-function-cmd-switch-client-c-cmd_switch_client_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-switch-client.c#L121)

## Calls

- [`log_debug`](/en/tmux/3.2a/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L636)
- [`window_unzoom`](/en/tmux/3.2a/reference/c-function-window_unzoom/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L642)

## Referenced by

- [`server_client_push_stderr`](/en/tmux/3.2a/reference/c-function-server_client_push_stderr/) (function)

## Referenced declarations

- [`window.flags`](/en/tmux/3.2a/reference/c-struct-window-flags/) (attribute)
- [`window.id`](/en/tmux/3.2a/reference/c-struct-window-id/) (attribute)
- [`window`](/en/tmux/3.2a/reference/c-struct-window/) (struct)
- [`WINDOW_WASZOOMED`](/en/tmux/3.2a/reference/c-define-tmux-h-window_waszoomed/) (constant)
- [`WINDOW_ZOOMED`](/en/tmux/3.2a/reference/c-define-tmux-h-window_zoomed/) (constant)
