# window_copy_move_mouse

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

```c
static void window_copy_move_mouse(struct mouse_event *)
```

## Parameters

- `m` (`struct mouse_event *`)

## Called by

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

## Calls

- [`cmd_mouse_at`](/en/tmux/3.2a/reference/c-function-cmd_mouse_at/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4875)
- [`cmd_mouse_pane`](/en/tmux/3.2a/reference/c-function-cmd_mouse_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4866)
- [`window_copy_update_cursor`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_update_cursor/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4878)

## Referenced declarations

- [`window_mode_entry.mode`](/en/tmux/3.2a/reference/c-struct-window_mode_entry-mode/) (attribute)
- [`window_pane.modes`](/en/tmux/3.2a/reference/c-struct-window_pane-modes/) (attribute)
- [`mouse_event`](/en/tmux/3.2a/reference/c-struct-mouse_event/) (struct)
- [`window_copy_mode`](/en/tmux/3.2a/reference/c-variable-window_copy_mode/) (attribute)
- [`window_view_mode`](/en/tmux/3.2a/reference/c-variable-window_view_mode/) (attribute)
- [`window_mode_entry.wp`](/en/tmux/3.2a/reference/c-struct-window_mode_entry-wp/) (attribute)
