# popup_mode_cb

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

```c
static struct screen * popup_mode_cb(struct client *c, u_int *cx, u_int *cy)
```

## Parameters

- `c` (`struct client *`)
- `cx` (`u_int *`)
- `cy` (`u_int *`)

## Referenced by

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

## Referenced declarations

- [`popup_data.c`](/en/tmux/3.2a/reference/c-struct-popup_data-c/) (attribute)
- [`client`](/en/tmux/3.2a/reference/c-struct-client/) (struct)
- [`screen.cx`](/en/tmux/3.2a/reference/c-struct-screen-cx/) (attribute)
- [`screen.cy`](/en/tmux/3.2a/reference/c-struct-screen-cy/) (attribute)
- [`client.overlay_data`](/en/tmux/3.2a/reference/c-struct-client-overlay_data/) (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)
- [`popup_data.s`](/en/tmux/3.2a/reference/c-struct-popup_data-s/) (attribute)
- [`screen`](/en/tmux/3.2a/reference/c-struct-screen/) (struct)
