# window_copy_drag_update

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

```c
static void window_copy_drag_update(struct client *, struct mouse_event *)
```

## Parameters

- `c` (`struct client *`)
- `m` (`struct mouse_event *`)

## 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#L4931)

## 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#L4960)
- [`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#L4948)
- [`window_copy_cursor_down`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cursor_down/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4974)
- [`window_copy_cursor_up`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cursor_up/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4971)
- [`window_copy_redraw_selection`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_redraw_selection/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4967)
- [`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#L4965)
- [`window_copy_update_selection`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_update_selection/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4966)

## Referenced declarations

- [`client`](/en/tmux/3.2a/reference/c-struct-client/) (struct)
- [`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)
- [`window_copy_mode_data.dragtimer`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-dragtimer/) (attribute)
- [`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_data.screen`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-screen/) (attribute)
- [`screen_size_y`](/en/tmux/3.2a/reference/c-define-tmux-h-screen_size_y/) (constant)
- [`WINDOW_COPY_DRAG_REPEAT_TIME`](/en/tmux/3.2a/reference/c-define-window-copy-c-window_copy_drag_repeat_time/) (constant)
- [`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)
