# window_copy_redraw_selection

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

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

## Parameters

- `wme` (`struct window_mode_entry *`)
- `old_y` (`u_int`)

## Called by

- [`window_copy_drag_update`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_drag_update/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6534)

## Calls

- [`window_copy_redraw_lines`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_redraw_lines/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5023)

## Referenced declarations

- [`window_copy_mode_data.backing`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-backing/) (attribute)
- [`window_copy_mode_data.cy`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-cy/) (attribute)
- [`window_mode_entry.data`](/en/tmux/3.7c/reference/c-struct-window_mode_entry-data/) (attribute)
- [`screen.grid`](/en/tmux/3.7c/reference/c-struct-screen-grid/) (attribute)
- [`window_copy_mode_data.oy`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-oy/) (attribute)
- [`window_copy_mode_data.selflag`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-selflag/) (attribute)
- [`grid.sy`](/en/tmux/3.7c/reference/c-struct-grid-sy/) (attribute)
- [`window_mode_entry`](/en/tmux/3.7c/reference/c-struct-window_mode_entry/) (struct)
