# control_reset_offsets

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L295
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-control_reset_offsets/

```c
void control_reset_offsets(struct client *c)
```

## Parameters

- `c` (`struct client *`)

## Called by

- [`control_stop`](/en/tmux/3.2a/reference/c-function-control_stop/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L826)
- [`server_client_set_flags`](/en/tmux/3.2a/reference/c-function-server_client_set_flags/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L2417)

## Referenced declarations

- [`client`](/en/tmux/3.2a/reference/c-struct-client/) (struct)
- [`client.control_state`](/en/tmux/3.2a/reference/c-struct-client-control_state/) (attribute)
- [`control_state.panes`](/en/tmux/3.2a/reference/c-struct-control_state-panes/) (attribute)
- [`control_state.pending_count`](/en/tmux/3.2a/reference/c-struct-control_state-pending_count/) (attribute)
- [`control_state.pending_list`](/en/tmux/3.2a/reference/c-struct-control_state-pending_list/) (attribute)
