# window_copy_size_changed

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

```c
static void window_copy_size_changed(struct window_mode_entry *wme)
```

## Parameters

- `wme` (`struct window_mode_entry *`)

## Called by

- [`window_copy_cmd_refresh_from_pane`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_cmd_refresh_from_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L2815)
- [`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#L1099)

## Calls

- [`screen_write_start`](/en/tmux/latest/reference/c-function-screen_write_start/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1058)
- [`screen_write_stop`](/en/tmux/latest/reference/c-function-screen_write_stop/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1060)
- [`window_copy_clear_marks`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_clear_marks/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1056)
- [`window_copy_clear_selection`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_clear_selection/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1055)
- [`window_copy_search_marks`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_search_marks/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1063)

## Other function references

- [`window_copy_write_lines`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_write_lines/) (function)

## Referenced declarations

- [`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)
- [`window_copy_mode_data.oy`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-oy/) (attribute)
- [`screen_write_ctx.s`](/en/tmux/latest/reference/c-struct-screen_write_ctx-s/) (attribute)
- [`window_copy_mode_data.screen`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-screen/) (attribute)
- [`screen_size_y`](/en/tmux/latest/reference/c-define-tmux-h-screen_size_y/) (constant)
- [`window_copy_mode_data.searchmark`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-searchmark/) (attribute)
- [`window_copy_mode_data.searcho`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-searcho/) (attribute)
- [`window_copy_mode_data.searchregex`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-searchregex/) (attribute)
- [`window_copy_mode_data.searchx`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-searchx/) (attribute)
- [`window_copy_mode_data.searchy`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-searchy/) (attribute)
- [`window_copy_mode_data.timeout`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-timeout/) (attribute)
- [`window_mode_entry`](/en/tmux/latest/reference/c-struct-window_mode_entry/) (struct)
