# screen_redraw_draw_borders

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L731
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-screen-redraw-c-screen_redraw_draw_borders/

```c
static void screen_redraw_draw_borders(struct screen_redraw_ctx *)
```

## Parameters

- `ctx` (`struct screen_redraw_ctx *`)

## Called by

- [`screen_redraw_screen`](/en/tmux/3.2a/reference/c-function-screen_redraw_screen/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L614)

## Calls

- [`log_debug`](/en/tmux/3.2a/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L739)
- [`screen_redraw_draw_borders_cell`](/en/tmux/3.2a/reference/c-function-screen-redraw-c-screen_redraw_draw_borders_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L746)

## Referenced declarations

- [`window_pane.border_gc_set`](/en/tmux/3.2a/reference/c-struct-window_pane-border_gc_set/) (attribute)
- [`screen_redraw_ctx.c`](/en/tmux/3.2a/reference/c-struct-screen_redraw_ctx-c/) (attribute)
- [`session.curw`](/en/tmux/3.2a/reference/c-struct-session-curw/) (attribute)
- [`window_pane.entry`](/en/tmux/3.2a/reference/c-struct-window_pane-entry/) (attribute)
- [`window.id`](/en/tmux/3.2a/reference/c-struct-window-id/) (attribute)
- [`client.name`](/en/tmux/3.2a/reference/c-struct-client-name/) (attribute)
- [`window.panes`](/en/tmux/3.2a/reference/c-struct-window-panes/) (attribute)
- [`screen_redraw_ctx`](/en/tmux/3.2a/reference/c-struct-screen_redraw_ctx/) (struct)
- [`client.session`](/en/tmux/3.2a/reference/c-struct-client-session/) (attribute)
- [`screen_redraw_ctx.statuslines`](/en/tmux/3.2a/reference/c-struct-screen_redraw_ctx-statuslines/) (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)
- [`winlink.window`](/en/tmux/3.2a/reference/c-struct-winlink-window/) (attribute)
