# window_copy_in_set

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

```c
static int window_copy_in_set(struct window_mode_entry *, u_int, u_int, const char *)
```

## Parameters

- `wme` (`struct window_mode_entry *`)
- `px` (`u_int`)
- `py` (`u_int`)
- `set` (`const char *`)

## Calls

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

## Referenced by

- [`window_copy_cmd_select_word`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_cmd_select_word/) (function)
- [`window_copy_synchronize_cursor_end`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_synchronize_cursor_end/) (function)

## Referenced declarations

- [`window_copy_mode_data.backing`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-backing/) (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_mode_entry`](/en/tmux/3.7c/reference/c-struct-window_mode_entry/) (struct)
