# window_copy_start_selection

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

```c
static void window_copy_start_selection(struct window_mode_entry *)
```

## Parameters

- `wme` (`struct window_mode_entry *`)

## Called by

- [`window_copy_cmd_begin_selection`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_cmd_begin_selection/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1187)
- [`window_copy_cmd_select_line`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_cmd_select_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L2306)
- [`window_copy_cmd_select_word`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_cmd_select_word/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L2338)
- [`window_copy_do_copy_end_of_line`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_do_copy_end_of_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1263)
- [`window_copy_do_copy_line`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_do_copy_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1351)
- [`window_copy_start_drag`](/en/tmux/3.7c/reference/c-function-window_copy_start_drag/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6492)

## Calls

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

## Referenced declarations

- [`window_copy_mode_data.backing`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-backing/) (attribute)
- [`window_copy_mode_data.cursordrag`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-cursordrag/) (attribute)
- [`CURSORDRAG_ENDSEL`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-171347220270030325112165345063320142325041012373-cursordrag_endsel/) (constant)
- [`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)
- [`window_copy_mode_data.endselx`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-endselx/) (attribute)
- [`window_copy_mode_data.endsely`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-endsely/) (attribute)
- [`window_copy_mode_data.oy`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-oy/) (attribute)
- [`screen_hsize`](/en/tmux/3.7c/reference/c-define-tmux-h-screen_hsize/) (constant)
- [`window_copy_mode_data.selx`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-selx/) (attribute)
- [`window_copy_mode_data.sely`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-sely/) (attribute)
- [`window_mode_entry`](/en/tmux/3.7c/reference/c-struct-window_mode_entry/) (struct)
