# control_pause_pane

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

```c
void control_pause_pane(struct client *c, struct window_pane *wp)
```

## Parameters

- `c` (`struct client *`)
- `wp` (`struct window_pane *`)

## Called by

- [`cmd_refresh_client_update_offset`](/en/tmux/3.2a/reference/c-function-cmd-refresh-client-c-cmd_refresh_client_update_offset/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-refresh-client.c#L107)

## Calls

- [`control_add_pane`](/en/tmux/3.2a/reference/c-function-control-c-control_add_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L379)
- [`control_discard_pane`](/en/tmux/3.2a/reference/c-function-control-c-control_discard_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L382)
- [`control_write`](/en/tmux/3.2a/reference/c-function-control_write/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L383)

## Referenced declarations

- [`client`](/en/tmux/3.2a/reference/c-struct-client/) (struct)
- [`CONTROL_PANE_PAUSED`](/en/tmux/3.2a/reference/c-define-control-c-control_pane_paused/) (constant)
- [`control_pane.flags`](/en/tmux/3.2a/reference/c-struct-control_pane-flags/) (attribute)
- [`window_pane.id`](/en/tmux/3.2a/reference/c-struct-window_pane-id/) (attribute)
- [`window_pane`](/en/tmux/3.2a/reference/c-struct-window_pane/) (struct)
