# screen_resize

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L388
- **Page:** https://libtmux.org/en/tmux/latest/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/latest/reference/c-function-mode_tree_resize/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/mode-tree.c#L655)
- [`popup_handle_drag`](/en/tmux/latest/reference/c-function-popup-c-popup_handle_drag/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L548)
- [`popup_make_pane`](/en/tmux/latest/reference/c-function-popup-c-popup_make_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L441)
- [`popup_modify`](/en/tmux/latest/reference/c-function-popup_modify/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L755)
- [`popup_resize_cb`](/en/tmux/latest/reference/c-function-popup-c-popup_resize_cb/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L402)
- [`screen_alternate_off`](/en/tmux/latest/reference/c-function-screen_alternate_off/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L722)
- [`status_redraw`](/en/tmux/latest/reference/c-function-status_redraw/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L405)
- [`window_clock_resize`](/en/tmux/latest/reference/c-function-window-clock-c-window_clock_resize/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-clock.c#L209)
- [`window_copy_resize`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_resize/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1078)
- [`window_pane_resize`](/en/tmux/latest/reference/c-function-window_pane_resize/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1215)

## Calls

- [`screen_resize_cursor`](/en/tmux/latest/reference/c-function-screen_resize_cursor/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L390)

## Referenced declarations

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