# window_copy_drag_release

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

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

## Parameters

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

## Calls

- [`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#L6556)
- [`window_copy_drag_update`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_drag_update/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6567)
- [`window_copy_line_numbers_active`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_line_numbers_active/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6566)

## Referenced by

- [`window_copy_start_drag`](/en/tmux/3.7c/reference/c-function-window_copy_start_drag/) (function)

## Referenced declarations

- [`client`](/en/tmux/3.7c/reference/c-struct-client/) (struct)
- [`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`](/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)
