# screen_clear_selection

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen.c#L388
- **Page:** https://libtmux.org/en/tmux/3.2a/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.2a/reference/c-function-screen_reinit/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen.c#L116)
- [`window_copy_clear_selection`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_clear_selection/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4241)

## Referenced by

- [`server_client_push_stderr`](/en/tmux/3.2a/reference/c-function-server_client_push_stderr/) (function)

## Referenced declarations

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