# screen_resize

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

```c
void screen_resize(struct screen *s, u_int sx, u_int sy, int reflow)
```

## Parameters

- `s` (`struct screen *`)
- `sx` (`u_int`)
- `sy` (`u_int`)
- `reflow` (`int`)

## Called by

- [`mode_tree_resize`](/en/tmux/3.2a/reference/c-function-mode_tree_resize/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/mode-tree.c#L544)
- [`popup_handle_drag`](/en/tmux/3.2a/reference/c-function-popup-c-popup_handle_drag/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/popup.c#L207)
- [`screen_alternate_off`](/en/tmux/3.2a/reference/c-function-screen_alternate_off/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen.c#L587)
- [`status_redraw`](/en/tmux/3.2a/reference/c-function-status_redraw/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/status.c#L374)
- [`window_clock_resize`](/en/tmux/3.2a/reference/c-function-window-clock-c-window_clock_resize/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-clock.c#L193)
- [`window_copy_resize`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_resize/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L807)
- [`window_pane_resize`](/en/tmux/3.2a/reference/c-function-window_pane_resize/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L1006)

## Calls

- [`screen_resize_cursor`](/en/tmux/3.2a/reference/c-function-screen_resize_cursor/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen.c#L278)

## Referenced by

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

## Referenced declarations

- [`screen`](/en/tmux/3.2a/reference/c-struct-screen/) (struct)
