# window_copy_drag_update

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6501
- **Page:** https://libtmux.org/en/tmux/3.7c/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_drag_release`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_drag_release/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6567)
- [`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#L6497)

## Calls

- [`cmd_mouse_at`](/en/tmux/3.7c/reference/c-function-cmd_mouse_at/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6526)
- [`cmd_mouse_pane`](/en/tmux/3.7c/reference/c-function-cmd_mouse_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6514)
- [`window_copy_cursor_down`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_cursor_down/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6541)
- [`window_copy_cursor_up`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_cursor_up/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6538)
- [`window_copy_redraw_selection`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_redraw_selection/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6534)
- [`window_copy_update_cursor`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_update_cursor/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6532)
- [`window_copy_update_selection`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_update_selection/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6533)

## Other function references

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

## Referenced declarations

- [`client`](/en/tmux/3.7c/reference/c-struct-client/) (struct)
- [`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.dragtimer`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-dragtimer/) (attribute)
- [`window_mode_entry.mode`](/en/tmux/3.7c/reference/c-struct-window_mode_entry-mode/) (attribute)
- [`window_pane.modes`](/en/tmux/3.7c/reference/c-struct-window_pane-modes/) (attribute)
- [`mouse_event`](/en/tmux/3.7c/reference/c-struct-mouse_event/) (struct)
- [`window_copy_mode_data.screen`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-screen/) (attribute)
- [`screen_size_x`](/en/tmux/3.7c/reference/c-define-tmux-h-screen_size_x/) (constant)
- [`screen_size_y`](/en/tmux/3.7c/reference/c-define-tmux-h-screen_size_y/) (constant)
- [`WINDOW_COPY_DRAG_REPEAT_TIME`](/en/tmux/3.7c/reference/c-define-window-copy-c-window_copy_drag_repeat_time/) (constant)
- [`window_copy_mode`](/en/tmux/3.7c/reference/c-variable-window_copy_mode/) (attribute)
- [`window_view_mode`](/en/tmux/3.7c/reference/c-variable-window_view_mode/) (attribute)
