# window_pane_get_bg_control_client

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

```c
int window_pane_get_bg_control_client(struct window_pane *wp)
```

## Parameters

- `wp` (`struct window_pane *`)

## Called by

- [`window_pane_get_bg`](/en/tmux/3.7c/reference/c-function-window_pane_get_bg/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1919)

## Referenced declarations

- [`CLIENT_CONTROL`](/en/tmux/3.7c/reference/c-define-tmux-h-client_control/) (constant)
- [`window_pane.control_bg`](/en/tmux/3.7c/reference/c-struct-window_pane-control_bg/) (attribute)
- [`client.entry`](/en/tmux/3.7c/reference/c-struct-client-entry/) (attribute)
- [`client.flags`](/en/tmux/3.7c/reference/c-struct-client-flags/) (attribute)
- [`window_pane`](/en/tmux/3.7c/reference/c-struct-window_pane/) (struct)
