# cmd_display_panes_draw

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-panes.c#L227
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-cmd-display-panes-c-cmd_display_panes_draw/

```c
static void cmd_display_panes_draw(struct client *c, void *data, struct screen_redraw_ctx *ctx)
```

## Parameters

- `c` (`struct client *`)
- `data` (`void *`)
- `ctx` (`struct screen_redraw_ctx *`)

## Calls

- [`cmd_display_panes_draw_pane`](/en/tmux/latest/reference/c-function-cmd-display-panes-c-cmd_display_panes_draw_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-panes.c#L237)
- [`log_debug`](/en/tmux/latest/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-panes.c#L233)
- [`window_pane_visible`](/en/tmux/latest/reference/c-function-window_pane_visible/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-panes.c#L236)

## Referenced by

- [`cmd_display_panes_exec`](/en/tmux/latest/reference/c-function-cmd-display-panes-c-cmd_display_panes_exec/) (function)

## Referenced declarations

- [`__unused`](/en/tmux/latest/reference/c-define-compat-h-__unused/) (constant)
- [`client`](/en/tmux/latest/reference/c-struct-client/) (struct)
- [`session.curw`](/en/tmux/latest/reference/c-struct-session-curw/) (attribute)
- [`window_pane.entry`](/en/tmux/latest/reference/c-struct-window_pane-entry/) (attribute)
- [`window.id`](/en/tmux/latest/reference/c-struct-window-id/) (attribute)
- [`client.name`](/en/tmux/latest/reference/c-struct-client-name/) (attribute)
- [`window.panes`](/en/tmux/latest/reference/c-struct-window-panes/) (attribute)
- [`screen_redraw_ctx`](/en/tmux/latest/reference/c-struct-screen_redraw_ctx/) (struct)
- [`client.session`](/en/tmux/latest/reference/c-struct-client-session/) (attribute)
- [`winlink.window`](/en/tmux/latest/reference/c-struct-winlink-window/) (attribute)
