# screen_redraw_cell_border

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

```c
static int screen_redraw_cell_border(struct client *c, u_int px, u_int py, int pane_status)
```

## Parameters

- `c` (`struct client *`)
- `px` (`u_int`)
- `py` (`u_int`)
- `pane_status` (`int`)

## Called by

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

## Calls

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

## Referenced declarations

- [`client`](/en/tmux/3.2a/reference/c-struct-client/) (struct)
- [`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.panes`](/en/tmux/3.2a/reference/c-struct-window-panes/) (attribute)
- [`SCREEN_REDRAW_BORDER`](/en/tmux/3.2a/reference/c-enum-screen_redraw_border_type-screen_redraw_border/) (constant)
- [`SCREEN_REDRAW_INSIDE`](/en/tmux/3.2a/reference/c-enum-screen_redraw_border_type-screen_redraw_inside/) (constant)
- [`SCREEN_REDRAW_OUTSIDE`](/en/tmux/3.2a/reference/c-enum-screen_redraw_border_type-screen_redraw_outside/) (constant)
- [`client.session`](/en/tmux/3.2a/reference/c-struct-client-session/) (attribute)
- [`window.sx`](/en/tmux/3.2a/reference/c-struct-window-sx/) (attribute)
- [`window.sy`](/en/tmux/3.2a/reference/c-struct-window-sy/) (attribute)
- [`winlink.window`](/en/tmux/3.2a/reference/c-struct-winlink-window/) (attribute)
