# window_copy_cursor_previous_word_pos

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4736
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cursor_previous_word_pos/

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

## Parameters

- `wme` (`struct window_mode_entry *`)
- `separators` (`const char *`)
- `already` (`int`)
- `ppx` (`u_int *`)
- `ppy` (`u_int *`)

## Called by

- [`window_copy_start_drag`](/en/tmux/3.2a/reference/c-function-window_copy_start_drag/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4915)
- [`window_copy_synchronize_cursor_end`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_synchronize_cursor_end/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L3736)

## Calls

- [`grid_reader_cursor_previous_word`](/en/tmux/3.2a/reference/c-function-grid_reader_cursor_previous_word/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4749)
- [`grid_reader_get_cursor`](/en/tmux/3.2a/reference/c-function-grid_reader_get_cursor/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4750)
- [`grid_reader_start`](/en/tmux/3.2a/reference/c-function-grid_reader_start/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4748)

## Referenced declarations

- [`window_copy_mode_data.backing`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-backing/) (attribute)
- [`window_copy_mode_data.cx`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-cx/) (attribute)
- [`window_copy_mode_data.cy`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-cy/) (attribute)
- [`window_mode_entry.data`](/en/tmux/3.2a/reference/c-struct-window_mode_entry-data/) (attribute)
- [`screen.grid`](/en/tmux/3.2a/reference/c-struct-screen-grid/) (attribute)
- [`window_copy_mode_data.oy`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-oy/) (attribute)
- [`screen_hsize`](/en/tmux/3.2a/reference/c-define-tmux-h-screen_hsize/) (constant)
- [`window_mode_entry`](/en/tmux/3.2a/reference/c-struct-window_mode_entry/) (struct)
