# window_copy_scroll_to

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

```c
static void window_copy_scroll_to(struct window_mode_entry *, u_int, u_int, int)
```

## Parameters

- `wme` (`struct window_mode_entry *`)
- `px` (`u_int`)
- `py` (`u_int`)
- `no_redraw` (`int`)

## Called by

- [`window_copy_cmd_next_matching_bracket`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_cmd_next_matching_bracket/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1908)
- [`window_copy_cmd_previous_matching_bracket`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_cmd_previous_matching_bracket/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1857)
- [`window_copy_next_paragraph`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_next_paragraph/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L893)
- [`window_copy_previous_paragraph`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_previous_paragraph/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L873)
- [`window_copy_search_jump`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_search_jump/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L4178)

## Calls

- [`window_copy_redraw_screen`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_redraw_screen/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L3565)
- [`window_copy_search_marks`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_search_marks/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L3562)
- [`window_copy_update_selection`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_update_selection/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L3563)

## Referenced declarations

- [`window_copy_mode_data.backing`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-backing/) (attribute)
- [`window_copy_mode_data.cx`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-cx/) (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)
- [`grid.hsize`](/en/tmux/3.7c/reference/c-struct-grid-hsize/) (attribute)
- [`window_copy_mode_data.oy`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-oy/) (attribute)
- [`window_copy_mode_data.searchmark`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-searchmark/) (attribute)
- [`window_copy_mode_data.searchregex`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-searchregex/) (attribute)
- [`grid.sy`](/en/tmux/3.7c/reference/c-struct-grid-sy/) (attribute)
- [`window_copy_mode_data.timeout`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-timeout/) (attribute)
- [`window_mode_entry`](/en/tmux/3.7c/reference/c-struct-window_mode_entry/) (struct)
