# window_copy_resize

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1070
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-window-copy-c-window_copy_resize/

```c
static void window_copy_resize(struct window_mode_entry *, u_int, u_int)
```

## Parameters

- `wme` (`struct window_mode_entry *`)
- `sx` (`u_int`)
- `sy` (`u_int`)

## Calls

- [`grid_unwrap_position`](/en/tmux/latest/reference/c-function-grid_unwrap_position/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1088)
- [`grid_wrap_position`](/en/tmux/latest/reference/c-function-grid_wrap_position/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1085)
- [`screen_resize`](/en/tmux/latest/reference/c-function-screen_resize/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1078)
- [`screen_resize_cursor`](/en/tmux/latest/reference/c-function-screen_resize_cursor/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1086)
- [`window_copy_redraw_screen`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_redraw_screen/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1100)
- [`window_copy_size_changed`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_size_changed/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1099)

## Referenced by

- [`window_copy_mode`](/en/tmux/latest/reference/c-variable-window_copy_mode/) (attribute)
- [`window_view_mode`](/en/tmux/latest/reference/c-variable-window_view_mode/) (attribute)

## Referenced declarations

- [`window_copy_mode_data.backing`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-backing/) (attribute)
- [`window_copy_mode_data.cx`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-cx/) (attribute)
- [`window_copy_mode_data.cy`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-cy/) (attribute)
- [`window_mode_entry.data`](/en/tmux/latest/reference/c-struct-window_mode_entry-data/) (attribute)
- [`screen.grid`](/en/tmux/latest/reference/c-struct-screen-grid/) (attribute)
- [`grid.hsize`](/en/tmux/latest/reference/c-struct-grid-hsize/) (attribute)
- [`window_copy_mode_data.oy`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-oy/) (attribute)
- [`window_copy_mode_data.screen`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-screen/) (attribute)
- [`grid.sx`](/en/tmux/latest/reference/c-struct-grid-sx/) (attribute)
- [`grid.sy`](/en/tmux/latest/reference/c-struct-grid-sy/) (attribute)
- [`window_mode_entry`](/en/tmux/latest/reference/c-struct-window_mode_entry/) (struct)
