# screen_clear_selection

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L502
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-screen_clear_selection/

```c
void screen_clear_selection(struct screen *s)
```

## Parameters

- `s` (`struct screen *`)

## Called by

- [`screen_reinit`](/en/tmux/3.7c/reference/c-function-screen_reinit/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L129)
- [`window_copy_clear_selection`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_clear_selection/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5671)

## Referenced declarations

- [`screen`](/en/tmux/3.7c/reference/c-struct-screen/) (struct)
- [`screen.sel`](/en/tmux/3.7c/reference/c-struct-screen-sel/) (attribute)
