# popup_set_client_cb

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

```c
static int popup_set_client_cb(struct tty_ctx *ttyctx, struct client *c)
```

## Parameters

- `ttyctx` (`struct tty_ctx *`)
- `c` (`struct client *`)

## Referenced by

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

## Referenced declarations

- [`tty_ctx.arg`](/en/tmux/3.2a/reference/c-struct-tty_ctx-arg/) (attribute)
- [`tty_ctx.bigger`](/en/tmux/3.2a/reference/c-struct-tty_ctx-bigger/) (attribute)
- [`popup_data.c`](/en/tmux/3.2a/reference/c-struct-popup_data-c/) (attribute)
- [`client`](/en/tmux/3.2a/reference/c-struct-client/) (struct)
- [`CLIENT_REDRAWOVERLAY`](/en/tmux/3.2a/reference/c-define-tmux-h-client_redrawoverlay/) (constant)
- [`client.flags`](/en/tmux/3.2a/reference/c-struct-client-flags/) (attribute)
- [`popup_data.px`](/en/tmux/3.2a/reference/c-struct-popup_data-px/) (attribute)
- [`popup_data.py`](/en/tmux/3.2a/reference/c-struct-popup_data-py/) (attribute)
- [`tty_ctx.rxoff`](/en/tmux/3.2a/reference/c-struct-tty_ctx-rxoff/) (attribute)
- [`tty_ctx.ryoff`](/en/tmux/3.2a/reference/c-struct-tty_ctx-ryoff/) (attribute)
- [`tty.sx`](/en/tmux/3.2a/reference/c-struct-tty-sx/) (attribute)
- [`tty.sy`](/en/tmux/3.2a/reference/c-struct-tty-sy/) (attribute)
- [`client.tty`](/en/tmux/3.2a/reference/c-struct-client-tty/) (attribute)
- [`tty_ctx`](/en/tmux/3.2a/reference/c-struct-tty_ctx/) (struct)
- [`tty_ctx.wox`](/en/tmux/3.2a/reference/c-struct-tty_ctx-wox/) (attribute)
- [`tty_ctx.woy`](/en/tmux/3.2a/reference/c-struct-tty_ctx-woy/) (attribute)
- [`tty_ctx.wsx`](/en/tmux/3.2a/reference/c-struct-tty_ctx-wsx/) (attribute)
- [`tty_ctx.wsy`](/en/tmux/3.2a/reference/c-struct-tty_ctx-wsy/) (attribute)
- [`tty_ctx.xoff`](/en/tmux/3.2a/reference/c-struct-tty_ctx-xoff/) (attribute)
- [`tty_ctx.yoff`](/en/tmux/3.2a/reference/c-struct-tty_ctx-yoff/) (attribute)
